Description Usage Arguments Value Examples
The aim of this function is to propose an alternative to the bug reported here.
1 | change_data(spdf, df)
|
spdf |
A Spatial*DataFrame object. |
df |
A data frame. |
An object of the same class as spdf
.
1 2 3 4 | # the working direction
vn <- sptools::gadm("vietnam", "sp", 1, intlib = TRUE, save = TRUE)
vn
change_data(vn, data.frame(gaussian = rnorm(63), uniform = runif(63)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.