Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mindistkeep

Detecting Absence of Movement in an Object of Class 'ltraj'


Description

Objects of class ltraj are often created with data collected using some form of telemetry (radio-tracking, G.P.S., etc.). However, the relocations of the monitored animals are always somewhat imprecise. The function mindistkeep considers that when the distance between two successive relocations is lower than a given threshold distance, the animal actually does not move (and replaces the coordinates of relocation i+1 by the coordinates of relocation i).

Usage

mindistkeep(x, threshold)

Arguments

x

An object of class ltraj

threshold

The minimum distance under which is is considered that the animal does not move

Value

An object of class ltraj

Author(s)

See Also

Examples

data(puechcirc)
plot(puechcirc)

i <- mindistkeep(puechcirc, 10)
plot(i)

adehabitatLT

Analysis of Animal Movements

v0.3.25
GPL (>= 2)
Authors
Clement Calenge, contributions from Stephane Dray and Manuela Royer
Initial release
2020-01-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.