Description Usage Arguments Value
simulates a Gaussian random field for each basis function given user specified covariance function and covariance parameters. The model specification corresponds to GeoR package.
1 2 |
nfields |
number of fields to simulate (one for each basis function) |
grid.xlim |
vector of length 2 specifying the xlim for the grid. Only used if locs is not specified. |
grid.ylim |
vector of length 2 specifying the ylim for the grid. Only used if locs is not specified. |
grid.dim |
vector with 2 numbers specifying the dimension of the rectangular grid. Only used if locs is not specified. |
cov.model |
name of covariance model(s) connected to each basis function. |
cov.pars |
a vector with 2 elements or an n x 2 matrix with values of the covariance parameters sigma^2 (partial sill) and phi (range parameter). If a vector, the elements are the values of sigma^2 and phi, respectively. If a matrix, corresponding to a model with several structures, the values of sigma^2 are in the first column and the values of phi are in the second. |
locs |
nx2 matrix of locations |
... |
other parameters sent to grf() |
coef list containing the coefficients ...
locs nx2 matrix of locations
cov.model name of covariance model(s) connected to each basis function.
cov.pars covariance parameters corresponding to the covariance models.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.