CholeskyDecomposition: Create a parameter set specifying a LU decomposition...

View source: R/gmSpatialMethodParameters.R

CholeskyDecompositionR Documentation

Create a parameter set specifying a LU decomposition simulation algorithm

Description

Create a parameter set describing a Cholesky (or LU) decomposition algorithm to two-point simulation, mostly for covariance or variogram-based gaussian random fields.

Usage

CholeskyDecomposition(nsim = 1, seed = NULL, ...)

Arguments

nsim

number of realisations desired

seed

an object specifying if and how the random number generator should be initialized, see ?simulate in base "stats" package

...

further parameters, currently ignored

Value

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.

Examples

(chols_local = CholeskyDecomposition(nsim=100, nBands=300))
## then run predict(..., pars=chols_local)

gmGeostats documentation built on April 18, 2023, 5:08 p.m.