View source: R/twoway_projector.R
transfer.cross_projector | R Documentation |
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.
If opts$ls_rr
is TRUE
, the projection step uses a
ridge-regularized least squares solution with penalty opts$lambda
before
any component subsetting occurs.
## S3 method for class 'cross_projector'
transfer(x, new_data, from, to, opts = list(), ...)
x |
A |
new_data |
The data to transfer. |
from |
Source domain ("X" or "Y"). |
to |
Target domain ("X" or "Y"). |
opts |
A list of options (see |
... |
Ignored. |
Transferred data matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.