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

View source: R/mindistkeep.r

mindistkeepR Documentation

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)

Clement Calenge clement.calenge@ofb.gouv.fr

See Also

ltraj

Examples

data(puechcirc)
plot(puechcirc)

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


adehabitatLT documentation built on April 6, 2023, 5:18 p.m.