# Flexible Occupancy Estimation with Stan

## Documentation for package ‘flocker’ version 1.0-2

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

example_flocker_model_single | Example fitted flocker model
fitted_flocker | Posterior predictive distributions for modeled probabilities
flock | Fit an occupancy model
flocker_stancode | Generate stan code for an occupancy model
flocker_standata | Generate stan data for an occupancy model
get_flocker_prior | Get prior for occupancy model
get_Z | Get posterior distribution of the Z matrix
log1m_inv_logit | Numerically stable log one-minus inverse logit
log_inv_logit | Numerically stable log inverse logit
log_lik_flocker | Compute unit-wise or series-wise log-likelihood matrix for a flocker_fit object
loo_compare_flocker | LOO comparisons for flocker models.
loo_flocker | Compute loo for flocker_fit objects
make_flocker_data | Format data for occupancy model with 'flock()'.
make_flocker_data_augmented | Format data for data-augmented occupancy model, to be passed to 'flock()'.
make_flocker_data_dynamic | Format data for dynamic (multi-season) occupancy model, to be passed to 'flock()'.
make_flocker_data_static | Format data for single-season occupancy model, to be passed to 'flock()'.
mfd_single | Data for example single-season flocker model
predict_flocker | Get posterior predictions from a flocker model
simulate_flocker_data | Simulate data for use with 'make_flocker_data()' and downstream functions.
standard_mfd_checks | input checking for make_flocker_data