comp_gw_cov {smile} | R Documentation |
Generalized Wendland covariance function for a polygons.
Description
Computing the Matern covariance function between polygons.
Usage
comp_gw_cov(cross_dists, n, n2, sigsq, phi, kappa, mu)
Arguments
cross_dists |
a list such that each position contains the cross
distances between points within different polygons.
|
n |
an integer representing number of polygons (note that, this is
different than the size of the list cross_dists
|
n2 |
usually, equal to n , except when the function is being used
to calculate the "cross" covariance between two different partitions of
the same space.
|
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 wendland-1 covariance matrix associated with a set of polygons.
[Package
smile version 1.0.5
Index]