Learn R Programming

lgcp (version 1.3-14)

CovFunction.function: CovFunction.function function

Description

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

Usage

"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

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

Run the code above in your browser using DataLab