mat_cov: Matern covariance function for a given distance matrix.

View source: R/RcppExports.R

mat_covR Documentation

Matern covariance function for a given distance matrix.

Description

Computing the Matern covariance function for a matrix of distances.

Usage

mat_cov(dists, sigsq, phi, nu)

Arguments

dists

a numeric matrix representing the distance between spatial entities.

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 \nu parameter from the Matern covariance function, controls the differentiability of the process.

Value

The matern covariance function (for a stationary and isotropic process) associated with the provided distances (dists) and the given set of parameters.

See Also

single_exp, single_matern


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