comp_pexp_cov: Powered Exponential covariance function for a polygons.

View source: R/RcppExports.R

comp_pexp_covR Documentation

Powered Exponential covariance function for a polygons.

Description

Computing the Powered Exponential covariance function between polygons.

Usage

comp_pexp_cov(cross_dists, n, n2, sigsq, phi, nu)

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 parameter from the Powered Exponential covariance function.

phi

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

nu

the \nu \in (0, 2] parameter representing the "power"

Value

The powered exponential covariance matrix associated with a set of polygons.

See Also

single_exp, single_matern, mat_cov


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