Description Usage Arguments Value Note
Simulates a large spatial dataset according to a Spatial Random Effects model: Y = Xβ + Sη + ε
1 2 |
X |
the design matrix for the large-scale variation (fixed effects). |
S |
the matrix of basis functions (design matrix for the random effect). |
beta |
the large-scale variation vector (fixed-effects slopes). |
V |
the covariance matrix of the reduced rank process. |
ssq |
the residual variance. |
theta |
the spatial dependence parameter, for if |
coords |
the observed locations, for if |
knots |
the knot locations, for if |
dist |
the distribution to use for simulating data. Currently only "mvrnorm" is supported. |
seed |
optional means to control the RNG seed. |
... |
space for additional arguments. |
A vector containing the simulated values.
Several arguments, including S
, V
, and ssq
may be left empty,
if locations and knots are provided to calculate them.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.