Usage
## S3 method for class 'ltraj':
plot(x, id = unique(unlist(lapply(x, attr, which = "id"))),
burst = unlist(lapply(x, attr, which = "burst")), spixdf = NULL,
spoldf = NULL, xlim = NULL, ylim = NULL, colspixdf =
gray((240:1)/256), colspoldf = "green", addpoints = TRUE,
addlines = TRUE, perani = TRUE, final = TRUE, ...)
Arguments
x
an object of class ltraj
id
a character vector containing the identity of the
individuals of interest
burst
a character vector containing the burst levels of
interest
spixdf
an object of class SpatialPixelsDataFrame
spoldf
an object of class SpatialPolygons
xlim
the ranges to be encompassed by the x axis
ylim
the ranges to be encompassed by the y axis
colspixdf
a character vector giving the colors of the map
spixdf
colspoldf
a character vector giving the colors of the polygon contour
map, when spoldf
is not NULL
addpoints
logical. If TRUE
, points corresponding to
each relocation are drawn
addlines
logical. If TRUE
, points corresponding to each
relocation are drawn
perani
logical. If TRUE
, one plot is drawn for each
value of id
, and the several bursts are superposed on the
same plot for a given animal. If FALSE
, one plot is drawn
for each value of burst
final
logical. If TRUE
, the initial and final
relocations of each burst are indicated in blue and red,
respectively
...
arguments to be passed to the generic
function plot