aux_gw: Mean of a Generalized Wendland covariance function (Internal...

View source: R/RcppExports.R

aux_gwR Documentation

Mean of a Generalized Wendland covariance function (Internal use)

Description

This is an auxiliary function for internal use. It helps to numerically integrate a covariance function evaluated at a grid of points within a polygon and speed-up the computations.

Usage

aux_gw(dist, sigsq, phi, kappa, mu)

Arguments

dist

a numeric matrix representing the distance between spatial entities.

sigsq

the \sigma^2 variance of the covariance function function.

phi

the \phi is the range parameter of the covariance function.

kappa

\kappa \in \{0, \ldots, 3 \}.

mu

\mu controls the smoothness of the covariance function

Value

The mean of mat_cov(dist, sigsq, phi, kappa).


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