st_clone | R Documentation |
Clone an stobject
st_clone(x)
x |
an stobject object. |
A copy (y
) of x
such that y
can be modified without modifying x
.
x <- st_new(stdata())
y <- st_clone(x)
y$data$STUDY <- NULL
x$data
y$data
# Get back to a regular environment
class(x) <- "environment"
class(y) <- "environment"
x
y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.