Plots the detection function (1- the survivor function) of a fitted model in two dimensions.
1 2 3 4 5 6 7 8 | f.plot(hmltm, obs = 1:length(hmltm$hmltm.fit$xy$x), new.ymax = NULL,
new.pars = NULL, theta.f = 0, theta.b = 90, xrange = c(0,
max(hmltm$hmltm.fit$xy$x)), yrange = c(0, 1.5 *
max(hmltm$hmltm.fit$xy$y)), nx = 50, ny = nx,
xlab = "Perpendicular distance", ylab = "Forward distance",
type = "contour", nlevels = 20, add = FALSE, col = "black",
logscale = FALSE, theta = 90, phi = 35,
zlab = "pdf of first detections", values = FALSE, ...)
|
hmltm |
output from |
obs |
row (observation) in data to use in plotting |
new.ymax |
a forward distance beyond which things can't be detected (used to override the
ymax already in |
new.pars |
model parameter vector (used to override the pars already in |
theta.f |
REDUNDANT must = 0. |
theta.b |
REDUNDANT must = 90. |
xrange |
range of x-axis. |
yrange |
range of y-axis. |
nx |
number of points on x-axis at which to evaluate detection function. |
ny |
number of points on y-axis at which to evaluate detection function. |
xlab |
x label. |
ylab |
y label. |
type |
"contour", "persp", "image" or "both" (for image and contour). |
nlevels |
number of contour levels. |
add |
If TRUE, adds to current plot, else makes new plot. |
col |
colour of plot. |
logscale |
If TRUE, plots hazard values on log scale. |
theta |
argument for |
phi |
argument for |
zlab |
label in z-dimension for persp plots |
values |
If TRUE, returns hazard function values on nx by ny grid. |
... |
other arguments to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.