Learn R Programming

tmaptools (version 1.2)

get_IDs: Get ID's of the shape items

Description

Get ID's of the shape items. For polygons and lines, the ID attribute is used. For points, the coordinates are used.

Usage

get_IDs(shp)

Arguments

Value

vector of ID's