Description Usage Arguments Value
Determines which rows of a SpatialPolygonsDataFrame corresponds to the states specified in the function call.
1 | get_state_ind(shapes, state, geo)
|
shapes |
A SpatialPolygonsDataFrame |
state |
Character scalar giving the name of the geography to identify (e.g., alaska, hawaii, excluded, teritories) |
geo |
Character vector giving the geography of the shape file (e.g, state, cbsa) |
Boolean vector indicating which rows correspond to the states specified in the function call.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.