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()
Diagnose common reasons a sweep fails, or succeeds meaninglessly
model_set()
Build a set of candidate detection functions
selection_table()
The ranked 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()
What a set of detections can and cannot support
prepare_distance_data()
Check and prepare distance data for fitting
view_window()
The time an animal stays within view of the platform
view_window_aerial()
The time an animal stays in view of an aircraft

Detection on the line

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

availability()
Availability: the probability an animal was at the surface to be seen
effect_estimates(<ddf>) effect_estimates_ddf()
Extract a fitted detection function as a tidy frame
g0()
Assemble a g(0) correction from its named components

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
ganley_availability
Right whale availability in Cape Cod Bay, by month
ganley_detection
Right whale annual detection probability in Cape Cod Bay