mat_st_to_df | R Documentation |
mat_st_to_df
mat_st_to_df(shp, add_xy = FALSE)
shp |
shp |
add_xy |
Logical. Add xy coordinates? |
library(sf)
shp <- st_sf(a=c(3,2), geometry=st_sfc(st_point(1:2), st_point(2:3)))
mat_st_to_df(shp)
mat_st_to_df(shp, add_xy = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.