fit_locoh: Fit one LoCoH home range

Description Usage Arguments Details Value See Also Examples

View source: R/wf_basic.R

Description

Fits a single LoCoH home range to data

Usage

1
fit_locoh(dat, crs = sf::NA_crs_, type = "a", n, ...)

Arguments

dat

[data.frame] The location data used for fitting the LoCoH. Should contain the following columns:

  • $x – The x-coordinate of the animal's location

  • $y – The y-coordinate of the animal's location

  • $t – The date and time (as a POSIXct object) of the location

crs

[sf::crs = sf::NA_crs_] The (optional) coordinate reference system for the location data. May also be passed as an integer representing the EPSG code.

type

[character = "a"] The type of neighbor rule used to create the local hulls. Should be one of "a" (default), "k", or "r".

n

[numeric = NA] The value to use for the neighbor rule, i.e., the value of either a, k, or r used to fit the local hulls.

...

Additional arguments passed to hr_locoh()..

Details

A wrapper for amt functions to fit LoCoH home ranges. First creates a track_xyt object, then calls hr_locoh().

Value

Returns a LoCoH object of class hr_locoh from package amt.

See Also

hr_locoh(). Getz et al. 2007 (insert full citation here)

Examples

1
2
3
4
## Not run: 
# Example

## End(Not run)

bsmity13/LoCoHverlap documentation built on Feb. 15, 2021, 12:43 p.m.