Compute Areas and Perimeters of Objects of Class "area"

Share:

Description

perarea computes the perimeters of polygons in objects of class area.
ararea computes the areas of polygons in objects of class area.

Usage

1
2

Arguments

x

object of class area

Value

a vector.

Author(s)

Clement Calenge clement.calenge@oncfs.gouv.fr

See Also

area, plot.area

Examples

1
2
3
4
5
6
7
8
data(puechabon)
locs <-  puechabon$locs

cp <- mcp(locs[,4:5], locs[,1])

perarea(cp)

ararea(cp)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.