Learn R Programming

lgcp (version 1.8)

stGPrealisation: stGPrealisation function

Description

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

Usage

stGPrealisation(gamma, fftgrid, covFunction, covParameters, d, tdiff)

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

tdiff

vector of time differences

Value

a realisation of a spatiotemporal Gaussian process on a regular grid