Learn R Programming

MRIaggr (version 1.1.3)

calcGroupsW_cpp: Find spatial groups

Description

C++ function called by calcGroupsW to compute the spatial groups. For internal use.

Usage

calcGroupsW_cpp(W, subset, max_groups)

Arguments

W
the neighbourhood matrix. dgCMatrix.
subset
the subset of observations to use. positive integer vector.
max_groups
the maximum number of groups. postive integer.

concept

cpp.