Plot proportion of observations detected within distance intervals (for
conditional detection functions) to compare visually the fitted model and
data. Internal function called by plot
methods.
plot_cond(
obs,
xmat,
gxvalues,
model,
nc,
breaks,
finebr,
showpoints,
showlines,
maintitle,
ylim,
angle = -45,
density = 20,
col = "black",
jitter = NULL,
xlab = "Distance",
ylab = "Detection probability",
subtitle = TRUE,
...
)
observer code
processed data
detection function values for each observation
fitted model from ddf
number of equal-width bins for histogram
user define breakpoints
fine break values over which line is averaged
logical variable; if TRUE
plots predicted value
for each observation
logical variable; if TRUE
plots average predicted
value line
main title line for each plot
range of y axis (default c(0,1)
)
shading angle for hatching
shading density for hatching
plotting colour
scaling option for plotting points. Jitter is applied to points by multiplying the fitted value by a random draw from a normal distribution with mean 1 and sd jitter.
label for x-axis
label for y-axis
if TRUE, shows plot type as sub-title
other graphical parameters, passed to the plotting functions
(plot
, hist
, lines
, points
, etc)
Jeff Laake, Jon Bishop, David Borchers