Learn R Programming

smile (version 1.1.0)

single_cs: Cubic spline covariance function (scalar)

Description

Computing the Spherical covariance function for a scalar distance.

Usage

single_cs(d, sigsq, phi)

Value

a scalar representing the (gaussian) covariance between two observations d apart of each other.

Arguments

d

a scalar representing the distance on which it is desired to evaluate the covariance function.

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.

See Also

single_exp, single_matern, single_matern3, single_matern5, mat_cov