Description Usage Arguments See Also
C++ function that computes the regional potential of spatial groups. For internal use.
1 2 | calcMultiPotential_cpp(W_SR, W_LR, sample, threshold, coords,
distance_ref, nbGroup_min, multiV, neutre)
|
W_SR |
The local neighborhood matrix. dgCMatrix. Should be normalized by row (i.e. |
W_LR |
The regional neighborhood matrix. dgCMatrix. Should contain the distances between the observations ( |
sample |
The group probability membership. numeric vector. |
threshold |
The minimum value to consider non-negligible group membership. numeric. |
coords |
The voxel coordinates. matrix. |
distance_ref |
The intervals of distance defining the several neighborhood orders in |
nbGroup_min |
The minimum group size of the spatial groups required for performing regional regularization. integer. |
multiV |
Should the regional potential range be specific to each spatial group ? logical. |
neutre |
the value to which the regional potential is set when the group is too small to compute it. numeric. |
calcMultiPotential
which is the R interface to this C++ function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.