rhrLoCoH: Local Convex Hull (LoCoH)

Description Usage Arguments Details Value Author(s) References Examples

View source: R/rhrEstLoCoH.R

Description

This function estimates an animals home range using Local Convex Hulls (LoCoH).

Usage

1
2
3
  rhrLoCoH(xy, type = "k", n = 10, levels = 95, minPts = 3,
    ud = FALSE, cud = FALSE, xrange = NA, yrange = NA,
    res = 100)

Arguments

xy

data.frame with two columns. The first column contains x coordinates and the second column contains y coordinates.

levels

a vector with isopleth levels at which home range should be calculated.

ud

a logical value, indicating whether or not a utilization distribution should be calculated.

cud

a logical value, indicating whether or not a cumulative utilization distribution should be calculated.

xrange

vector of length 2, with xmin and xmax for the UD

yrange

vector of length 2, with ymin and ymax for the UD

res

numeric value, the resolution of the ud.

type

character value, one of k, r, a. Three methods to select which neighbours are used for local hulls are availabe: i) k-nearest neighbours; ii) neighbours within a radius r; iii) neighbours within a cummulative dististance a.

n

numeric value, if type is k it is the number of neaerst neibhers, if type is r it is the radius that is searched and if type is a it is the cummulative distance to be used.

minPts

numeric value, the minimum number of neighbours required.

Details

Three different types available for determining the number of neighbors:

Value

object of class RhrHREstimator

Author(s)

Johannes Signer

References

Getz, W. M., & Wilmers, C. C. (2004). A local nearest-neighbor convex-hull construction of home ranges and utilization distributions. _Ecography_, 27(4), 489-505.

Getz, W. M., Fortmann-Roe, S., Cross, P. C., Lyons, A. J., Ryan, S. J., & Wilmers, C. C. (2007). LoCoH: nonparameteric kernel methods for constructing home ranges and utilization distributions. _PloS one_, 2(2), e207.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
data(datSH)
locoh <- rhrLoCoH(datSH[, 2:3], type="k", n=10, level=c(50, 90))

## area at isopleths
rhrArea(locoh)

## get isopleths
iso <- isopleths(locoh)

## Which parameter were used?
parameters(locoh)

## End(Not run)

rhr documentation built on May 31, 2017, 4:26 a.m.

Related to rhrLoCoH in rhr...