single_matern: Matern covariance function (scalar - generic)

View source: R/RcppExports.R

single_maternR Documentation

Matern covariance function (scalar - generic)

Description

Computing the Matern covariance function for a single distance measure, addapted from geoR.

Usage

single_matern(d, sigsq, phi, nu)

Arguments

d

a scalar representing the distance on which it is desired to evaluate the covariance function.

sigsq

the σ^2 parameter from the Matern covariance function.

phi

the φ parameter from the Matern covariance function, controls the range of the spatial dependence.

nu

the ν parameter from the Matern covariance function, controls the differentiability of the process.

Value

a scalar representing the (matern) covariance between two observations d apart of each other.

See Also

single_matern, single_matern5 single_exp, mat_cov


smile documentation built on April 29, 2022, 9:05 a.m.