sfMM-calcMultiPotential_cpp: Computation of the spatial potential

Description Usage Arguments See Also

Description

C++ function that computes the regional potential of spatial groups. For internal use.

Usage

1
2
calcMultiPotential_cpp(W_SR, W_LR, sample, threshold, coords, 
         distance_ref, nbGroup_min, multiV, neutre)

Arguments

W_SR

The local neighborhood matrix. dgCMatrix. Should be normalized by row (i.e. rowSums(W_SR)=1).

W_LR

The regional neighborhood matrix. dgCMatrix. Should contain the distances between the observations (0 indicating infinite distance).

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 W_LR. numeric vector.

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.

See Also

calcMultiPotential which is the R interface to this C++ function.


bozenne/MRIaggr documentation built on May 13, 2019, 1:39 a.m.