Usage
as.traj(id, xy, date, burst = id, ...)
print.traj(x, ...)
summary.traj(object, id = levels(object$id), date = NULL, ...)
plot.traj(x, id = levels(x$id), burst = levels(x$burst), date = NULL,
asc = NULL, area = NULL,
xlim = range(x$x), ylim = range(x$y),
colasc = gray((256:1)/256), colpol = "green",
addpoints = TRUE, addlines = TRUE,
perani = TRUE, final = TRUE, ...)
getburst(x, burst = levels(x$burst),
id = levels(x$id), date = NULL)
traj2df(x)
df2traj(df)
Arguments
id
a factor giving for each relocation the
identity of the individual monitored in as.traj
.
a character vector containing the identity of the
individuals of interest in other functions
xy
a data frame containing the coordinates of the relocations
date
a vector of class POSIXct
giving the date for each relocation in as.traj
.
a vector of class POSIXct
with length 2, indicating the
beginning and the end of the period of interest in other
functions
burst
a factor giving the identity of each
"burst" of relocations in as.traj
(e.g. the circuit id, see
details). The burst level needs to be unique (two animals cannot
have the same burst levels).
a character vector containing the
object
an object of class traj
asc
an object of class asc
area
an object of class area
(see help(area)
)
xlim
the ranges to be encompassed by the x axis
ylim
the ranges to be encompassed by the y axis
colasc
a character vector giving the colors of the
map of class asc
colpol
a character vector giving the colors of the
polygon contour map, when area
is not NULL
addlines
logical. If TRUE
, lines joining consecutive
relocations are drawn
addpoints
logical. If TRUE
, points corresponding to
each relocation are drawn
perani
logical. If TRUE
, one plot is drawn for each
level of the factor id
, and for a given animal, the several
bursts are superposed on the same plot. If FALSE
, one plot
is drawn for each level of the fact
final
logical. If TRUE
, the initial and final
relocations of each burst are indicated in blue and red, respectively
df
a data frame to be converted to the class traj
...
other optional vectors containing some variables measured at
each relocation (e.g. temperature, wind,
elevation, etc.) in as.traj
.
For other functions, arguments to be passed to
the generic functions plot
,