Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

average.line.cond

Average conditional detection function line for plotting


Description

For models with covariates the detection probability for each observation can vary. This function computes an average value for a set of distances to plot an average line to graphically represent the fitted model in plots that compare histograms and the scatter of individual estimated detection probabilities.

Usage

average.line.cond(finebr, obs, model)

Arguments

finebr

set of fine breaks in distance over which detection function values are averaged and plotted

obs

value of observer for averaging (1-2 individual observers)

model

ddf model object

Value

list with 2 elements:

xgrid vector of gridded distance values
values vector of average detection function values at the xgrid values

Note

Internal function called from plot functions for ddf objects

Author(s)

Jeff Laake


mrds

Mark-Recapture Distance Sampling

v2.2.4
GPL (>= 2)
Authors
Jeff Laake <jeff.laake@noaa.gov>, David Borchers <dlb@st-and.ac.uk>, Len Thomas <len.thomas@st-and.ac.uk>, David Miller <dave@ninepointeightone.net> and Jon Bishop
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.