gw_cov: Generalized Wendland covariance function for a given distance...

View source: R/RcppExports.R

gw_covR Documentation

Generalized Wendland covariance function for a given distance matrix.

Description

Computing the Matern covariance function for a matrix of distances.

Usage

gw_cov(dists, sigsq, phi, kappa, mu)

Arguments

dists

a numeric matrix representing the distance between spatial entities.

sigsq

the σ^2 parameter from the Matern covariance function.

phi

φ is the range of the covariance function.

kappa

κ \in \{0, …, 3 \}.

mu

μ controls the smoothness of the covariance function

Value

The GW (isotropic) covariance function associated with the provided distances (dists) and the given set of parameters.


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