View source: R/sp_add_row_numbers.R
sp_add_row_numbers | R Documentation |
Function to add a row number variable to a spatial object's data slot.
sp_add_row_numbers(sp, name = "id", zero_based = FALSE)
sp |
Spatial object containing a data slot. |
name |
Name of variable to use. |
zero_based |
Should the numbering start at 0 rather than 1? |
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.