Learn R Programming

adehabitat (version 1.8.20)

perarea: Compute Areas and Perimeters of Objects of Class "area"

Description

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

Usage

perarea(x)
ararea(x)

Arguments

x

object of class area

Value

a vector.

See Also

area, plot.area

Examples

Run this code
# NOT RUN {
data(puechabon)
locs <-  puechabon$locs

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

perarea(cp)

ararea(cp)

# }

Run the code above in your browser using DataLab