Mirrors the tail of ena.rotate.by.generalized: the named axes appear in the output exactly as provided, and the trailing columns come from an SVD of the data deflated by all named axes.

lq_complete_rotation(data, named_axes, named_labels)

Arguments

data

Numeric matrix (n_units x n_dims)

named_axes

Numeric matrix (n_dims x k); columns must be unit-norm

named_labels

Character vector of length k

Value

List with rotation, eigenvalues, column_names