Learn R Programming

LatticeKrig (version 9.3.0)

LKrigDistance-methods: Distance function methods for LKrigDistance in Package LatticeKrig

Description

Distance function for distances within a limited radius and creating a sparse matrix. Supports either coordinates or locations specified by a grid. This method allows for finding pairwise distances among locations where one set can Methods for function LKrigDistance in package LatticeKrig

Arguments

Methods

signature(x1 = "matrix", x2 = "gridList", delta = "numeric")

Finds pairwise distances within the radius delta between all locations x1 and all grid points. Will call either LKDistGrid or LKDistGridComponents. The function is particularly efficient when at least one set of locations is a regular grid and this is the main reason for this "overloading".

signature(x1 = "matrix", x2 = "matrix", delta = "numeric")

Finds pairwise distances within the radius delta between all locations x1 and x2. Will call either LKdist or LKDistComponents. These methods also take addtional arguments that specify the distance type. See help on LKdist and Radial.basis for details.