Skip to contents

Data

Assemble automated and verified detections and site covariates.

fp_data()
Assemble data for a false-positive occupancy model
fp_data_wide()
Assemble data from detection matrices
fp_to_unmarked()
Convert data for unmarked::occuFP()

Reading classifier output

Read BirdNET selection tables and reviewed clips, and build occasions.

fp_read_birdnet()
Read BirdNET selection tables
fp_read_validation()
Read the verdicts of a clip review
fp_read_sheepdog()
Read an export of the sheepdog package
fp_aggregate()
Detections and confirmations per occasion
fp_threshold_sweep() plot(<fp_threshold_sweep>)
Fit the model at several classifier thresholds

Fitting

Fit the model and inspect, summarize, predict, and compare fits.

fp_occu()
Fit a Bayesian false-positive occupancy model
fp_occu_dyn() print(<fp_occu_dyn>) summary(<fp_occu_dyn>) as_draws_df(<fp_occu_dyn>)
Dynamic (multi-season) false-positive occupancy model
fp_occu_ms() print(<fp_occu_ms>) summary(<fp_occu_ms>) as_draws_df(<fp_occu_ms>)
Multispecies false-positive occupancy model
fp_richness()
Species richness of each site from a multispecies model
fp_state_draws()
Posterior draws of the occupancy states of a multispecies model
predict(<fp_occu_ms>)
Predicted probabilities of a fitted multispecies model
simulate_fp_ms()
Simulate data for a multispecies false-positive occupancy model
fp_occu_rn()
Fit a Royle-Nichols occupancy model with false positives
loo(<fp_occu_rn>) simulate(<fp_occu_rn>) print(<fp_occu_rn>) summary(<fp_occu_rn>) as_draws_df(<fp_occu_rn>)
Methods for Royle-Nichols fits
fp_occu_mc() summary(<fp_occu_mc>) print(<summary.fp_occu_mc>) print(<fp_occu_mc>) as_draws_df(<fp_occu_mc>)
Fit the model to draws of the detection histories
fp_draws_data()
Detection histories over the draws of a classifier calibration
fp_priors()
Prior settings for fp_occu()
print(<fp_occu>) summary(<fp_occu>) print(<summary.fp_occu>) coef(<fp_occu>) predict(<fp_occu>) loo(<fp_occu>) as_draws_df(<fp_occu>)
Methods for fp_occu fits
crywolf-output output-names
Output names and interpretation
crywolf-api
Stability of the crywolf interface
fp_loo_weights()
Model weights by stacking
fp_gap_prior()
A prior for the gap from validated detections
fp_prior_predictive() plot(<fp_prior_predictive>)
Prior predictive check
fp_ppc()
Posterior predictive check for a false-positive occupancy model
fp_compile()
Compile (or load) the Stan model
fp_stan_file()
Path to the Stan program

Plots and site-level estimates

Coefficients, diagnostics, marginal effects, and occupancy of each site.

plot(<fp_occu>)
Plot a fitted model
fp_effects() plot(<fp_effects>)
Marginal effect of a covariate
fp_sites() plot(<fp_sites>)
Site-level estimates
fp_review_priority()
Review priority of each site, for a directed review round of sheepdog
plot(<fp_ppc>)
Plot a posterior predictive check

Simulation and calibration

Simulate false-positive regimes and check interval calibration for a design.

simulate_fp()
Simulate data for a false-positive occupancy model
simulate_fp_dyn()
Simulate data for a dynamic false-positive occupancy model
simulate_fp_rn()
Simulate data for a Royle-Nichols model with false positives
fp_calibrate()
Simulation-based calibration check for a study design
fp_verification_curve()
Coverage as a function of verification effort
fp_calibrate_fit()
Calibration of a fitted model on data like the real ones
fp_sbc() plot(<fp_sbc>)
Simulation-based calibration
simulate(<fp_occu>)
Simulate data from a fitted model
simulate(<fp_occu_dyn>)
Simulate data from a fitted dynamic model
simulate(<fp_occu_ms>)
Simulate data from a fitted multispecies model
plot(<fp_calibration>)
Plot the results of a calibration check

Example data

Passive acoustic monitoring of the Common Pauraque in the Pantanal, and surveys of the American pika.

curiango
Passive acoustic monitoring of the Common Pauraque in the Pantanal
pika
Surveys of the American pika in five park units of the western United States

Package

crywolf crywolf-package
crywolf: Bayesian false-positive occupancy models with calibration checks
reexports loo as_draws_df
Objects exported from other packages