Example model output from running a hierarchical first difference model on the included sample data for Pacific Wrens.
Format
pacific_wren_model
A list output from run_model()
with 4 items
model_fit
- cmdstanr model outputmodel_data
- list of data formatted for use in Stan modellingmeta_data
- meta data defining the analysismeta_strata
- data frame listing strata meta dataraw_data
- data frame of summarized counts
Examples
# Code to replicate:
if (FALSE) { # \dontrun{
pacific_wren_model <- stratify(by = "bbs_cws", sample_data = TRUE) %>%
prepare_data() %>%
prepare_model(model = "first_diff", set_seed = 111) %>%
run_model(chains = 2, iter_sampling = 20, iter_warmup = 20, set_seed = 111)
} # }