| perim {terra} | R Documentation |
This method returns the length of lines or the perimeter of polygons.
## S4 method for signature 'SpatVector' perim(x)
x |
SpatVector |
numeric (m)
f <- system.file("ex/lux.shp", package="terra")
v <- vect(f)
perim(v)