Partial Inverse Projection of a Subset of the Loading Matrix in cross_projector
partial_inverse_projection.cross_projector.RdThis function obtains the "inverse" mapping for a columnwise subset of the loading
matrix in the specified domain. In practice, if v_mat is not orthonormal
or not square, we use a pseudoinverse approach (via MASS::ginv).
Usage
# S3 method for class 'cross_projector'
partial_inverse_projection(x, colind, domain = c("X", "Y"), ...)Arguments
- x
A
cross_projectorobject.- colind
A numeric vector specifying the columns (indices) of the latent factors or loadings to invert. Typically these correspond to a subset of canonical components or principal components, etc.
- domain
Either
"X"or"Y", indicating which block's partial loadings we want to invert.- ...
Additional arguments (unused by default, but may be used by subclasses).
Value
A matrix of shape (length(colind) x p_block) that, when multiplied
by factor scores restricted to colind columns, yields an
(n x p_block) reconstruction in the original domain block.