CovFunction.function: CovFunction.function function

View source: R/lgcpStructures.R

CovFunction.functionR Documentation

CovFunction.function function

Description

A function used to define the covariance function for the latent field prior to running the MCMC algorithm

Usage

## S3 method for class ''function''
CovFunction(obj, ...)

Arguments

obj

a function object

...

additional arguments

Value

the covariance function ready to run the MCMC routine.

See Also

exponentialCovFct, RandomFieldsCovFct, SpikedExponentialCovFct, CovarianceFct

Examples

## Not run: cf1 <- CovFunction(exponentialCovFct)
## Not run: cf2 <- CovFunction(RandomFieldsCovFct(model="matern",additionalparameters=1))

lgcp documentation built on Oct. 3, 2023, 5:08 p.m.