Learn R Programming

dbmss (version 2.1.2)

CountNbd: Auxiliary functions to count point neighbors

Description

C++ routines used for fast count of neighbors.

Usage

CountNbd(Rr, Rx, Ry, RWeight, RNbd, RIsReferenceType, RIsNeighborType)
CountNbdCC(Rr, Rx, Ry, RWeight, RNbd, RIsReferenceType, RIsNeighborType)
DistKd(Rx, Ry, RPointWeight, RWeights, RDist, RIsReferenceType, RIsNeighborType)
CountNbdKd(Rr, Rx, Ry, RWeight, RNbd, RIsReferenceType, RIsNeighborType)

Arguments

Rr
A vector of distances.
Rx
A vector of x coordinates.
y
A vector of y coordinates.
Weight
A vector of point weights.
PointWeight
A vector of point weights.
Nbd
A matrix to store the weight of neighbors.
Weights
A vector of point-pair weights.
Dist
A vector of point-pair distances.
IsReferenceType
A boolean vector to recognize reference points.
IsNeighborType
A boolean vector to recognize neighbor points.

Details

These routines are called internally.