inverse_projection.cross_projector: Default inverse_projection method for cross_projector
Description
This function obtains the matrix that maps factor scores in the
latent space back into the original domain (X or Y). By default,
we assume v_domain is not necessarily orthonormal or invertible,
so we use a pseudoinverse approach (e.g. MASS::ginv).
# Suppose 'cp' is a cross_projector object. If we want the# inverse for the Y domain:# inv_mat <- inverse_projection(cp, domain="Y")# Then reconstruct: Yhat <- Fscores %*% inv_mat