View source: R/gmSpatialMethodParameters.R
CholeskyDecomposition | R Documentation |
Create a parameter set describing a Cholesky (or LU) decomposition algorithm to two-point simulation, mostly for covariance or variogram-based gaussian random fields.
CholeskyDecomposition(nsim = 1, seed = NULL, ...)
nsim |
number of realisations desired |
seed |
an object specifying if and how the random number generator should be
initialized, see |
... |
further parameters, currently ignored |
an S3-list of class "gmCholeskyDecomposition" containing the few elements given as arguments to the function. This is just a compact way to provide further functions such as predict_gmSpatialModel with appropriate triggers for choosing a prediction method or another, in this case for triggering LU or Cholesky decomposition simulation.
(chols_local = CholeskyDecomposition(nsim=100, nBands=300))
## then run predict(..., pars=chols_local)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.