spat: Obscure Spatial Function

Description Usage Arguments Value Examples

View source: R/spat.R

Description

Obscure Spatial Function

Usage

1
spat(shp)

Arguments

shp

sf object

Value

array of values

Examples

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)

christopherkenny/dependencycheckR documentation built on Sept. 6, 2020, 12:06 a.m.