Learn R Programming

lgcp (version 1.8)

SpikedExponentialCovFct: SpikedExponentialCovFct function

Description

A function to declare and also evaluate a spiked exponential covariance function. Note that the present version of lgcp only offers estimation for sigma and phi, the additional parameter 'spikevar' is treated as fixed.

Usage

SpikedExponentialCovFct(d, CovParameters, spikevar = 1)

Arguments

d

toral distance

CovParameters

parameters of the latent field, an object of class "CovParamaters".

spikevar

the additional variance at distance 0

Value

the spiked exponential covariance function; note that the spikevariance is currently not estimated as part of the MCMC routine, and is thus treated as a fixed parameter.

See Also

CovFunction.function, exponentialCovFct, RandomFieldsCovFct