aux_cs: Mean of a (Cubic spline) covariance function (Internal use)

View source: R/RcppExports.R

aux_csR Documentation

Mean of a (Cubic spline) covariance function (Internal use)

Description

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

Usage

aux_cs(dist, sigsq, phi)

Arguments

sigsq

the σ^2 parameter from the Spherical covariance. function.

phi

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

dists

a numeric matrix representing the distance between spatial entities.

Value

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


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