This is a convience function for a reduce and distance operation based upon multivariate predictor variables.
- The NxP matrix of raw data.
- The Nx1 vector of grouping factors.
The sum of the within stratum variance for each group
Documentation reproduced from package popgraph, version 1.4. License: GPL (>= 2)