show.detsurf | R Documentation |
Plots the detection probability surface, based on trap locations and the estimated detection function from a model fitted using fit.ascr.
show.detsurf( fit, session = 1, surface = TRUE, mask = NULL, col = "black", levels = NULL, xlim = NULL, ylim = NULL, show.labels = TRUE, trap.col = "red", add = FALSE, ... )
fit |
A fitted model from fit.ascr. |
session |
For multisession models, the session from which the plot should be generated. |
surface |
Logical, if |
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 |
col |
The colour of the plotted contours. |
levels |
A numeric vector giving the values to be associated with the plotted contours. Alternatively, this can be the character string "esa", which results in a contour encapsulating an area equal to the estimated effective sampling area. |
xlim |
A numeric vector of length 2, giving the x coordinate range. |
ylim |
A numeric vector of length 2, giving the y coordinate range. |
show.labels |
Logical, if |
trap.col |
The colour of the points representing detector locations. |
add |
Logical, if |
... |
Arguments to be passed to persp. |
show.detsurf(example.data$fits$simple.hn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.