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.
## 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. |
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.
Transferred data matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.