Learn R Programming

constrainedKriging (version 0.2-11)

internal-functions: Internal Functions Exported For Use In Dependent Packages

Description

The internal functions K and f.point.block.cov are not meant to be called by users directly. They are exported because other R packages that import from constrainedKriging use them.

Usage

K(dist, model)

f.point.block.cov(pixconfig, locations, model)

Value

K computes a vector with autocorrelations.

f.point.block.cov computes a (n

\(\times\)

m ) matrix with the autocovariances between n observations and m prediction target blocks.

Arguments

dist

a numeric vector with distances.

model

an object of class “covmodel” that defines an isotropic covariance model.

pixconfig

a list of lists with the information about the pixels used for the covariance approximation of the polygon neighbourhood configurations, see respective information in section Value of preCKrige.

locations

a numeric matrix with two columns that contain the coordinates of the observations.

Author

Christoph Hofer, christoph.hofer@alumni.ethz.ch