single_tapmat: Matern (tapered) covariance function (scalar - generic)

View source: R/RcppExports.R

single_tapmatR Documentation

Matern (tapered) covariance function (scalar - generic)

Description

Computing the Matern covariance function for a single distance measure, adapted from geoR using Wendland-1 as a tapper.

Usage

single_tapmat(d, sigsq, phi, nu, theta)

Arguments

d

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

sigsq

the \sigma^2 parameter from the Matern covariance function.

phi

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

nu

the smoothness parameter \nu from the Matern covariance function, controls the differentiability of the process.

theta

the \theta tapper range.

Value

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

See Also

single_matern, single_matern5 single_exp, mat_cov


lcgodoy/smile documentation built on Nov. 20, 2024, 12:17 a.m.