NEWS.md
twolevel_single model family for single-season occupancy models in which groups of closure units may themselves be structurally absent. Users specify the grouping factor with level2_group, may supply a separate table of group-level predictors with level2_covs, and model group-level occupancy with f_meta.obs array must have at least one detection. Never-observed pseudospecies must instead be added through n_aug.get_Z() now returns a list containing unit states for species-site combinations and level2 states for species. Generic two-level models use the same return structure. Joint samples from the two levels are mutually consistent.get_Z(), log_lik_flocker(), and loo_flocker() now retain user-supplied group names. Augmented models similarly retain supplied species names and assign stable names to augmented pseudospecies.get_Z() calculations for augmented models and when using new_data, including rep-constant models. Augmented group-level probabilities now marginalize over unit occupancy and incorporate the fitted group-level occupancy probability.simulate_flocker_data() so that values are shared across species at each unit or visit, and allowed make_flocker_data() to accept data-frame observation inputs as documented.flocker that created them. Two-level packing metadata is stored separately from the underlying brmsfit data.loo_compare() output structure in the loo package (> 2.9.0), which now returns a data frame instead of a matrix and includes additional diagnostic columns.get_positions as applied to multiseason models.cmdstanr (not on CRAN)