Skip to contents

Fitting and comparing

Fit a set of candidate keys at once and compare them on effective strip half-width and its coefficient of variation, rather than on AIC alone.

diagnose_sweep()
Check a sweep's inputs before fitting
model_set()
Build a set of candidate detection functions
selection_table()
Get the selection table from a sweep
sweep_models()
Fit a set of detection functions and compare them

Preparing survey data

Getting distance data into the shape a detection function wants, and describing the window an observer could actually see through.

detection_structure()
Report which analyses a detection table supports
prepare_distance_data()
Check and prepare distance data for fitting
view_window()
Time in view for a circular viewing area
view_window_aerial()
Time in view for an aircraft
view_window_vessel() view_window_ship()
Time in view for a vessel

Detection on the line

Availability and perception bias: what was there, versus what could have been seen at all.

availability()
Availability of an animal at the surface
effect_estimates(<ddf>) effect_estimates_ddf()
Extract a fitted detection function as a plottable data frame
g0()
Combine g(0) components into one correction

Bundled data

Dive-interval and detection data shipped with the package, so the examples and the availability correction run without needing an extract.

example_dive_intervals
Example surfacing and diving intervals, by month (invented)
ganley_availability
Right whale availability in Cape Cod Bay, by month
ganley_detection
Right whale annual detection probability in Cape Cod Bay