Learn R Programming

lgcp (version 1.8)

RandomFieldsCovFct: RandomFieldsCovFct function

Description

A function to declare and also evaluate an covariance function from the RandomFields Package. See ?CovarianceFct. Note that the present version of lgcp only offers estimation for sigma and phi, any additional paramters are treated as fixed.

Usage

RandomFieldsCovFct(model, additionalparameters = c())

Arguments

model

the choice of model e.g. "matern"

additionalparameters

additional parameters for chosen covariance model. See ?CovarianceFct

Value

a covariance function from the RandomFields package

See Also

CovFunction.function, exponentialCovFct, SpikedExponentialCovFct, CovarianceFct

Examples

Run this code
# NOT RUN {
RandomFieldsCovFct(model="matern",additionalparameters=1)
# }

Run the code above in your browser using DataLab