flock()
.R/make_flocker_data.R
make_flocker_data_dynamic.Rd
Format data for dynamic (multi-season) occupancy model, to be passed to
flock()
.
make_flocker_data_dynamic(
obs,
unit_covs = NULL,
event_covs = NULL,
quiet = FALSE
)
An I x J x K array where closure is assumed across rows, columns are repeated sampling events, and slices along the third dimension are seasons. 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 across repeat visits, but not necessarily across seasons.
A list of dataframes (one per season) of covariates for each closure-unit that are constant across repeated sampling events within units. All dataframes must have identical column names and types, and all dataframes must have I rows.
A named list of I x J x K arrays, each one corresponding to a covariate that varies across repeated sampling events within closure-units
Hide progress bars and informational messages?
A flocker_data list that can be passed as data to flock()
.