C++ function that computes the barycenter of a spatial group. For internal use.
1 | calcRadius_cpp(coords, sample, threshold, subset_bary, verbose)
|
coords |
the spatial coordinates of the observations. matrix with a number of rows equal to the length of |
sample |
the weight of each voxel in the computation of the barycenter. positive numeric. |
threshold |
observations with a |
subset_bary |
an indicator of the observations that should be kept ? logical vector. |
verbose |
should the radius of the spatial group be printed ? logical. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.