addVarToCoords | R Documentation |
Adds variables to the coordinates data.frame in slot @coordinates.
addVarToCoords(object, ...)
## S4 method for signature 'SpatialData'
addVarToCoords(object, var_df, vars, overwrite = FALSE)
object |
An object of class |
... |
Used to absorb deprecated arguments or functions. |
var_df |
Data.frame with the variables to merge. |
vars |
Character vector. Subset of variables to add. |
overwrite |
Logical value. Must be |
The updated input object, containing the added, removed or computed results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.