Learn R Programming

gstat (version 2.1-2)

krigeSimCE: Simulation based on circulant embedding

Description

Simulating a conditional/unconditional Gaussian random field via kriging and circulant embedding

Usage

krigeSimCE(formula, data, newdata, model, n = 1, ext = 2)

Value

A spatial data frame as defined in newdata with n simulations.

Arguments

formula

the formula of the kriging predictor

data

spatial data frame that conditions the simulation

newdata

locations in space where the Gaussian random field shall be simulated

model

a vgm model that defines the spatial covariance structure

n

number of simulations

ext

extension factor of the circulant embedding, defaults to 2

Author

Benedikt Graeler

References

Davies, Tilman M., and David Bryant: "On circulant embedding for Gaussian random fields in R." Journal of Statistical Software 55.9 (2013): 1-21. See i.e. the supplementary files at (retrieved 2018-05-25): https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v055i09/v55i09.R

See Also

krigeSTSimTB

Examples

Run this code
# see demo('circEmbeddingMeuse')

Run the code above in your browser using DataLab