polyPerimeter {spatialEco}R Documentation

Polygon perimeter

Description

Calculates the perimeter length(s) for a polygon object

Usage

polyPerimeter(x)

Arguments

x

sf POLYGON class object

Value

A vector of polygon perimeters in projection units

Author(s)

Jeffrey S. Evans <jeffrey_evans@tnc.org>

Examples

library(sf)
  polys <- st_read(system.file("shape/nc.shp", package="sf"))
    polys <- suppressWarnings(st_cast(polys[c(10,100),], "POLYGON"))
 
 polyPerimeter(polys)


[Package spatialEco version 2.0-2 Index]