Description Usage Arguments Value
A function to simulate a Gaussian field on a regular square lattice, the returned object is of class lgcpgrid.
1 2 3 |
n |
the number of realisations to generate. Default is 1. |
range |
a vector of length 2, defining the left-most and right most cell centroids in the x-direction. Note that the centroids in the y-direction are the same as those in the x-direction. |
ncells |
the number of cells, typially a power of 2 |
spatial.covmodel |
spatial covariance function, default is exponential, see ?CovarianceFct |
model.parameters |
parameters of model, see ?lgcppars. Only set sigma and phi for spatial model. |
covpars |
vector of additional parameters for spatial covariance function, in order they appear in chosen model in ?CovarianceFct |
ext |
how much to extend the parameter space by. Default is 2. |
an lgcp grid object containing the simulated field(s).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.