Description Usage Arguments Examples
Plots estimated densities of animal locations, which are latent variables in SECR models.
1 2 3 4 5 6 7 8 9 10 11 | locations(fit, id, infotypes = NULL, combine = FALSE, xlim = range(mask[,
1]), ylim = range(mask[, 2]), mask = get.mask(fit), levels = NULL,
nlevels = 10, density = FALSE, cols = list(combined = "black", capt =
"purple", ss = "orange", bearing = "green", dist = "brown", toa = "blue"),
ltys = list(combined = "solid", capt = "solid", ss = "solid", bearing =
"solid", dist = "solid", toa = "solid"), trap.col = "red",
circle.traps = TRUE, show.labels = TRUE, plot.contours = TRUE,
plot.estlocs = FALSE, keep.estlocs = FALSE, plot.arrows = "bearing"
%in% fit$infotypes, plot.circles = "dist" %in% fit$infotypes,
arrow.length = NULL, show.legend = FALSE, show.axes = TRUE,
add = FALSE)
|
fit |
A fitted model from admbsecr. |
id |
A numeric vector with row numbers from
|
infotypes |
A character vector indicating the type(s) of
information to be used when plotting the estimated density of
location. Elements can be a subset of |
combine |
Logical, if |
xlim |
A numeric vector of length 2, giving the x coordinate range. |
ylim |
A numeric vector of length 2, giving the y coordinate range. |
mask |
A matrix with two columns. Each row provides Cartesian
coordinates for the location of a mask point. The function
create.mask will return a suitable object. The
mask used to fit the model |
levels |
A numeric vector giving the values to be associated with the plotted contours. |
nlevels |
The number of contour levels desired. Ignored if
|
density |
Logical, if |
cols |
A list with named components corresponding to each
contour type (i.e., a subset of |
ltys |
The line type of the contours, with the same required
syntax as |
trap.col |
The colour of the points representing detector locations. |
circle.traps |
Logical, if |
show.labels |
Logical, if |
plot.contours |
Logical, if |
plot.estlocs |
Logical, if |
keep.estlocs |
Logical, if |
plot.arrows |
Logical, if |
plot.circles |
Logical, if |
arrow.length |
Numeric, providing the length of the arrows
(only used if |
show.legend |
Logical, if |
show.axes |
Logical, if |
add |
Logical, if |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.