Plots unconditional detection function for observer=obs observations
overlays histogram, average detection function and values for individual
observations data. Internal function called by plot
methods.
plot_uncond(
model,
obs,
xmat,
gxvalues,
nc,
finebr,
breaks,
showpoints,
showlines,
maintitle,
ylim,
return.lines = FALSE,
angle = -45,
density = 20,
col = "black",
jitter = NULL,
xlab = "Distance",
ylab = "Detection probability",
subtitle = TRUE,
...
)
if return.lines==TRUE
returns dataframe average.line
otherwise just plots
fitted model from ddf
value of observer for plot
processed data
detection function values for each observation
number of equal-width bins for histogram
fine break values over which line is averaged
user define breakpoints
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; defaults to (0,1)
if TRUE, returns values for line
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