Computes a dimensional reduction from a matrix of points such
that the first dimension of the projected space passes through the means of
two groups in the original space. Subsequent dimensions are computed using
SVD on the deflated data. Delegates to means_rotation.
Arguments
- enaset
An
ENAsetor compatible list withmodel$points.for.projection,connection.counts$ENA_UNIT,line.weights, androtation$codes.- groups
A list containing one or more pairs; each pair is a length-2 list
list(a, b)whereaandbare either logical vectors (length = number of units) or character vectors of unit IDs.- params
Alias for
groups; used when called from the pipe API.
Value
A list with rotation, codes, eigenvalues, and
node.positions = NULL, suitable for use inside rotate().
