setCoordsDf | R Documentation |
Set the coordinates
setCoordsDf(object, ...)
## S4 method for signature 'SPATA2'
setCoordsDf(object, coords_df, force = FALSE)
## S4 method for signature 'SpatialData'
setCoordsDf(object, coords_df, force = FALSE)
object |
An object of class |
... |
Used to absorb deprecated arguments or functions. |
coords_df |
A data.frame containing information about every observation. Must contain the variables:
|
All set*()
-functions offer a save way to set certain
slots of your spata-object. They do check the input for validity but
effectively overwrite everything that is occupying the slot to be set -
use with caution.
A spata object containing the set input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.