Description Usage Arguments Details Value Author(s) See Also Examples
This function simulates a data set on given locations for Poisson Log-normal spatial model or Binomial Logistic-normal spatial model.
1 2 |
loc |
a n \times 2 matrix which indicates the coordinates of given locations |
L |
a vector of length n; it indicates the time duration during which the Poisson counts are accumulated, or the total number of trials for Binomial response; if 0 is found in the vector, 1 will be used to replace all the values in the vector |
X |
a n \times p covariate matrix; the default value "NULL" indicates no covariate |
beta |
a vector of length (p+1) that indicates the coefficients |
cov.par |
a vector of length 3 that indicates the value of (σ,φ,κ) |
rho.family |
take the value of |
Y.family |
take the value of |
When using the powered exponential correlation function, note that 0<κ<=2.
A list with two elements:
data |
a vector indicates the response variables |
latent |
a vector indicates the latent variables |
Liang Jing ljing918@gmail.com
locCircle
,
locGrid
,
locSquad
,
simData
,
plotData
.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.