- 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).
- N
a numeric vector of length N
containing the number of species each data source samples. These can be the same if both data sets sample the same species, or can be different.
- beta
a numeric matrix with max(N)
rows containing the intercept and regression coefficient parameters for the occurrence portion of the multi-species occupancy model. Each row corresponds to the regression coefficients for a given species.
- alpha
a list of length n.data
. Each element is a numeric matrix with the rows corresponding to the number of species that data source contains and columns corresponding to the regression coefficients for each data source.
- psi.RE
a list used to specify the non-spatial random intercepts included in the occurrence 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 occurrence portion of the model.
- p.RE
this argument is not currently supported. In a later version, this argument will allow for simulating data with detection random effects in the different data sources.
- sp
a logical value indicating whether to simulate a spatially-explicit occupancy model with a Gaussian process. By default set to FALSE
.
- svc.cols
a vector indicating the variables whose effects will be
estimated as spatially-varying coefficients. svc.cols
is an
integer vector with values indicating the order of covariates specified
in the model formula (with 1 being the intercept if specified).
- 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 vector of length max(N)
containing the spatial variance parameter for each species. Ignored when sp = FALSE
or when factor.model = TRUE
.
- phi
a numeric vector of length max(N)
containing the spatial decay parameter for each species. Ignored when sp = FALSE
. If factor.model = TRUE
, this should be of length n.factors
.
- nu
a numeric vector of length max(N)
containing the spatial smoothness parameter for each species. Only used when sp = TRUE
and cov.model = 'matern'
. If factor.model = TRUE
, this should be of length n.factors
.
- factor.model
a logical value indicating whether to simulate data following a factor modeling approach that explicitly incoporates species correlations. If sp = TRUE
, the latent factors are simulated from independent spatial processes. If sp = FALSE
, the latent factors are simulated from standard normal distributions.
- n.factors
a single numeric value specifying the number of latent factors to use to simulate the data if factor.model = TRUE
.
- range.probs
a numeric vector of length N
where each value should fall between 0 and 1, and indicates the probability that one of the J
spatial locations simulated is within the simulated range of the given species. If set to 1, every species has the potential of being present at each location.
- ...
currently no additional arguments