meshcode_sf | R Documentation |
Convert and export meshcode area to sf
.
meshcode_sf(data, mesh_var, .type, .keep_class = FALSE)
data |
data.frame |
mesh_var |
unquoted expressions for meshcode variable. |
.type |
Specify the |
.keep_class |
Do you want to assign a class to the meshcode column
in data.frame? If |
sf object
d <- data.frame(id = seq.int(4),
meshcode = rmesh(4),
stringsAsFactors = FALSE)
meshcode_sf(d, meshcode)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.