View source: R/make_flocker_data.R
make_flocker_data | R Documentation |
flock()
.Format data for occupancy model with flock()
.
make_flocker_data(
obs,
unit_covs = NULL,
event_covs = NULL,
type = "single",
n_aug = NULL,
quiet = FALSE,
newdata_checks = FALSE
)
obs |
If |
unit_covs |
If |
event_covs |
If |
type |
The type of occupancy model desired. Options are:
|
n_aug |
Number of pseudo-species to augment. Only applicable if
|
quiet |
Hide progress bars and informational messages? |
newdata_checks |
If TRUE, turn off checks that must pass in order to use the data for model fitting, but not in other contexts (e.g. making predictions or assessing log-likelihoods over new data). |
A flocker_data list that can be passed as data to flock()
.
sfd <- simulate_flocker_data()
make_flocker_data(
sfd$obs,
sfd$unit_covs,
sfd$event_covs
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.