View source: R/forestsearch_helpers.R
| add_id_column | R Documentation |
Ensures that a data frame has a unique ID column. If id.name is not
provided, a column named "id" is added. If id.name is provided
but does not exist in the data frame, it is created with unique integer
values.
add_id_column(df.analysis, id.name = NULL)
df.analysis |
Data frame to which the ID column will be added. |
id.name |
Character. Name of the ID column to add (default is
|
Data frame with the ID column added if necessary.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.