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. Averages are calculated over the observed covariate combinations.

1 | ```
average.line(finebr, obs, model)
``` |

`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; 3 duplicates; 4 pooled observation team) |

`model` |
ddf model object |

list with 2 elements

`xgrid` | vector of gridded distance values |

`values` | vector of average detection function values at
the `xgrid` values |

Internal function called from plot functions for ddf objects

Jeff Laake

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.