C++ function called by calcGroupsCoords
to compute the spatial groups. For internal use.
1 2 | calcGroupsCoords_cpp(coords_NNA, index_NNA, min_index_NNA, max_index_NNA,
Neighborhood, coords_max, max_groups, verbose)
|
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. |
min_index_NNA |
the minimum value of index_NNA. postive integer. |
max_index_NNA |
the maximum number of index_NNA. postive integer. |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.