flock()
.R/make_flocker_data.R
make_flocker_data_augmented.Rd
#' Format data for data-augmented occupancy model, to be passed to
flock()
.
make_flocker_data_augmented(
obs,
n_aug,
site_covs = NULL,
event_covs = NULL,
quiet = FALSE
)
An I x J x K array where rows I are sites, columns J are repeat sampling events, and slices K are species. Allowable values are 1 (detection), 0 (no detection), and NA (no sampling event). The data must be formatted so that all NAs are trailing within their rows.
Number of pseudospecies to augment
A dataframe of covariates for each site that are constant across repeated sampling events.
A named list of I x J matrices, each one corresponding to a covariate that varies across repeated sampling events within sites
Hide progress bars and informational messages?
A flocker_data list that can be passed as data to flocker()
.