contourPolygons: Compute home range polygons from utilization distribution

Description Usage Arguments Value See Also Examples

Description

Given a utilization distribution, compute the polygons that contain a certain fraction of the UD.

Usage

1
contourPolygons(ud, levels = 0.99)

Arguments

ud

The utilization distribution.

levels

The level(s) at which to compute contours.

Value

A list of SpatialPolygons as defined in package sp. Each element of the list represents the result for one utilization distribution from ud. If multiple levels are requested, these are separate Polygons in one element of the result list.

See Also

utilizationDistribution

Examples

1
2
3
4
5
6
7
8
data("vervet_monkeys", package="moveBB")

ud <- utilizationDistribution(monkey.tr)
#cp <- contourPolygons(ud, levels=c(0.95, 0.99))
#str(cp[[1]])

## Draw the home range for the first animal
#plot(cp[[1]], col=1:2)

moveBB documentation built on May 2, 2019, 5:50 p.m.