Learn R Programming

lgcp (version 1.3-3)

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

## 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

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

Run the code above in your browser using DataLab