Learn R Programming

lgcp (version 1.8)

GPrealisation: GPrealisation function

Description

A function to store a realisation of a spatial gaussian process for use in MCMC algorithms that include Bayesian parameter estimation. Stores not only the realisation, but also computational quantities.

Usage

GPrealisation(gamma, fftgrid, covFunction, covParameters, d)

Arguments

gamma

the transformed (white noise) realisation of the process

fftgrid

an object of class FFTgrid, see ?genFFTgrid

covFunction

an object of class function returning the spatial covariance

covParameters

an object of class CovParamaters, see ?CovParamaters

d

matrix of grid distances

Value

a realisation of a spatial Gaussian process on a regular grid