calcGroupsCoords_cpp: Find spatial groups
Description
C++ function called by calcGroupsCoords
to compute the spatial groups. For internal use.Usage
calcGroupsCoords_cpp(coords_NNA, index_NNA, Neighborhood, coords_max, max_groups, verbose)
Arguments
coords_NNA
the spatial coordinates of the observations in C version (beginning at 0). matrix.
index_NNA
the index of the coordinates in a array in C version (beginning at 0). numerical vector.
Neighborhood
the type of neighbourhood. character.
coords_max
the maximum coordinate in each dimension. numerical vector
max_groups
the maximum number of groups. postive integer.
verbose
should the execution of the function be traced ? logical.