gmGeostats (version 0.11.3)

CholeskyDecomposition: 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, ...)

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.

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

Examples

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

Run the code above in your browser using DataLab