Description Usage Arguments Value Author(s) See Also Examples
This function identifies the relocations fullfilling a condition in an
object of class ltraj
.
1 | which.ltraj(ltraj, expr)
|
ltraj |
an object of class |
expr |
a character string giving any syntactically correct R
logical expression implying the descriptive elements in
|
A data frame giving the ID, the Bursts and the relocations for which
the condition described by expr
is verified.
Clement Calenge clement.calenge@oncfs.gouv.fr
ltraj
for additional information about objects
of class ltraj
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(puechcirc)
puechcirc
## Identifies the relocations for which time lag is
## upper than one hour
which.ltraj(puechcirc, "dt>3600")
puechcirc[burst="CH930824"][[1]][27:28,]
## Identifies the speed between successive
## relocations upper than 0.8 meters/second
which.ltraj(puechcirc, "dist/dt > 0.8")
## This is the case for example for the
## relocations #28, 58, 59 and 60 of "CH930824"
puechcirc[burst="CH930824"][[1]][c(28,58,59,60),]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.