Description Usage Arguments Value Examples
View source: R/spat.R
Obscure Spatial Function
1
spat(shp)
shp
sf object
array of values
1 2 3 4 5 6
## Not run: hex <- st_polygon(list(rbind(c(0,0), c(0,2), c(2,3), c(4,2), c(4,0), c(2,-1), c(0,0)))) shp <- st_sf(st_sfc(hex, hex + c(4,0), hex + c(2,-3), hex + c(8,0))) spat(shp) ## End(Not run)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.