Convert between data representations in a multiblock or cross-decomposition
model by projecting the input new_data from the from domain/block
onto a latent space and then reconstructing it in the to domain/block.
# S3 method for cross_projector
transfer(x, new_data, from, to, opts = list(), ...)Transferred data matrix.
A cross_projector object.
The data to transfer.
Source domain ("X" or "Y").
Target domain ("X" or "Y").
A list of options (see transfer generic).
Ignored.
When opts$ls_rr is TRUE, the forward projection from the from
domain is computed using a ridge-regularized least squares approach.
The penalty parameter is taken from opts$lambda. Component subsetting
via opts$comps is applied after computing these ridge-based scores.