Description Usage Arguments Details Value Author(s) See Also Examples
Gets the parts of the trajectories stored in an object of class
ltraj
of type II (time recorded), corresponding to a specified
time period.
1 2 |
x |
an object of class |
min |
numeric. The beginning of the period to consider |
max |
numeric. The end of the period to consider |
type |
character. The time units of |
The limits of the period to consider may correspond to any of the
components of the list of class POSIXlt
(hour, day, month,
etc.; see help(POSIXlt)
), or to dates stored in objects of
class POSIXct
(see examples).
an object of class ltraj
.
Clement Calenge clement.calenge@oncfs.gouv.fr
ltraj
for further information about objects of
class ltraj
, POSIXlt
for further information
about objects of class POSIXlt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(puechcirc)
plot(puechcirc, perani = FALSE)
## Gets all the relocations collected
## between midnight and 3H AM
toto <- gdltraj(puechcirc, min = 0, max = 3, type="hour")
plot(toto, perani = FALSE)
## Gets all relocations collected between the 15th
## and the 25th august 1993
lim <- as.POSIXct(strptime(c("15/08/1993", "25/08/1993"),
"%d/%m/%Y"))
tutu <- gdltraj(puechcirc, min = lim[1],
max = lim[2], type="POSIXct")
plot(tutu, perani = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.