aux_spher: Mean of a (Spherical) covariance function (Internal use)

View source: R/RcppExports.R

aux_spherR Documentation

Mean of a (Spherical) 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_spher(dist, sigsq, phi)

Arguments

dist

a numeric matrix representing the distance between spatial entities.

sigsq

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

phi

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

Value

The mean of spher_cov(dist, sigsq, phi).


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