nseg | R Documentation |
Count the number of segements in a SpatVector of lines or polygons
## S4 method for signature 'SpatVector'
nseg(x)
x |
SpatVector |
numeric
f <- system.file("ex/lux.shp", package="terra")
v <- vect(f)
nseg(v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.