- n.data
an integer indicating the number of detection-nondetection data sources to simulate.
- J.x
a single numeric value indicating the number of sites across the region of interest along the horizontal axis. Total number of sites across the simulated region of interest is \(J.x \times J.y\).
- J.y
a single numeric value indicating the number of sites across the region of interest along the vertical axis. Total number of sites across the simulated region of interest is \(J.x \times J.y\).
- J.obs
a numeric vector of length n.data
containing the number of sites to simulate each data source at. Data sources can be obtained at completely different sites, the same sites, or anywhere inbetween. Maximum number of sites a given data source is available at is equal to \(J = J.x \times J.y\).
- n.rep
a list of length n.data
. Each element is a numeric vector with length corresponding to the number of sites that given data source is observed at (in J.obs
). Each vector indicates the number of repeat visits at each of the sites for a given data source.
- n.rep.max
a vector of numeric values indicating the maximum number of replicate surveys for each data set. This is an optional argument, with its default value set to max(n.rep)
for each data set. This can be used to generate data sets with different types of missingness (e.g., simulate data across 20 days (replicate surveys) but sites are only sampled a maximum of ten times each).
- beta
a numeric vector containing the intercept and regression coefficient parameters for the occurrence portion of the single-species occupancy model.
- alpha
a list of length n.data
. Each element is a numeric vector containing the intercept and regression coefficient parameters for the detection portion of the single-species occupancy model for each data source.
- psi.RE
a list used to specify the non-spatial random intercepts included in the occupancy portion of the model. The list must have two tags: levels
and sigma.sq.psi
. levels
is a vector of length equal to the number of distinct random intercepts to include in the model and contains the number of levels there are in each intercept. sigma.sq.psi
is a vector of length equal to the number of distinct random intercepts to include in the model and contains the variances for each random effect. If not specified, no random effects are included in the occupancy portion of the model.
- p.RE
a list used to specify the non-spatial random intercepts included in the detection portion of the model. The list must be a list of lists, where the individual lists contain the detection coefficients for each data set in the integrated model. Each of the lists must have two tags: levels
and sigma.sq.p
. levels
is a vector of length equal to the number of distinct random intercepts to include in the model and contains the number of levels there are in each intercept. sigma.sq.p
is a vector of length equal to the number of distinct random intercepts to include in the model and contains the variances for each random effect. If not specified, no random effects are included in the detection portion of the model.
- sp
a logical value indicating whether to simulate a spatially-explicit occupancy model with a Gaussian process. By default set to FALSE
.
- cov.model
a quoted keyword that specifies the covariance function used to model the spatial dependence structure among the latent occurrence values. Supported covariance model key words are: "exponential"
, "matern"
, "spherical"
, and "gaussian"
.
- sigma.sq
a numeric value indicating the spatial variance parameter. Ignored when sp = FALSE
.
- phi
a numeric value indicating the spatial range parameter. Ignored when sp = FALSE
.
- nu
a numeric value indicating the spatial smoothness parameter. Only used when sp = TRUE
and cov.model = "matern"
.
- ...
currently no additional arguments