View source: R/prepJAGSdata_nostandardising.R
prepJAGSdata2 | R Documentation |
Prepare JAGS-like Data for JSODM
prepJAGSdata2(modeltype, Xocc, Xobs, y, ModelSite, ...)
Xocc |
A dataframe of covariates related to occupancy. One row per ModelSite. |
Xobs |
A dataframe of covariates related to observations. Each column is a covariate. |
y |
A dataframe of species observations (1 or 0). One row per visit. Each column is a species. |
ModelSite |
A list of integers giving the number each row of Xocc (ModelSite) visited for each visit (row of y and Xobs) |
nlv |
The number of latent variables |
Given the input data parameters of run.detectionoccupancy prepare the data list for JAGS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.