perarea {adehabitat} | R Documentation

## 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.

### Warning

`ararea` requires the package `gpclib`.

### Author(s)

Clément Calenge calenge@biomserv.univ-lyon1.fr

### See Also

`as.area`, `plot.area`

### Examples

    data(puechabon)
    locs <-  puechabon$locs

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

    perarea(cp)

    if (require(gpclib))
       ararea(cp)

[Package adehabitat version 1.4 Index]