plot.ltraj | R Documentation |
plot.ltraj
allows various graphical displays of the
trajectories.
## 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, ...)
x |
an object of class |
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 |
spoldf |
an object of class |
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
|
colspoldf |
a character vector giving the colors of the polygon contour
map, when |
addpoints |
logical. If |
addlines |
logical. If |
perani |
logical. If |
final |
logical. If |
... |
arguments to be passed to the generic
function |
Clement Calenge clement.calenge@ofb.gouv.fr
For further information on the class ltraj
,
ltraj
.
data(puechcirc)
plot(puechcirc)
plot(puechcirc, perani = FALSE)
plot(puechcirc, id = "JE93", perani = FALSE)
data(puechabonsp)
plot(puechcirc, perani = FALSE, spixdf = puechabonsp$map[,1])
cont <- getcontour(puechabonsp$map[,1])
plot(puechcirc, spoldf = cont)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.