make_flocker_data_dynamic {flocker} | R Documentation |
Format data for dynamic (multi-season) occupancy model, to be passed to
flock()
.
Description
Format data for dynamic (multi-season) occupancy model, to be passed to
flock()
.
Usage
make_flocker_data_dynamic(
obs,
unit_covs = NULL,
event_covs = NULL,
quiet = FALSE
)
Arguments
obs |
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. |
unit_covs |
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. |
event_covs |
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 |
quiet |
Hide progress bars and informational messages? |
Value
A flocker_data list that can be passed as data to flock()
.