cs_cov: Computing the Cubic spline covariance function for a single...

View source: R/RcppExports.R

cs_covR Documentation

Computing the Cubic spline covariance function for a single distance measure.

Description

Computing the Cubic spline covariance function for a single distance measure.

Usage

cs_cov(dists, sigsq, phi)

Arguments

dists

a numeric matrix representing the distance between spatial entities.

sigsq

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

phi

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

Value

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


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