Create a Multiblock Bi-Projector
multiblock_biprojector.RdConstructs a multiblock bi-projector using the given component matrix (v), score matrix (s), singular values (sdev),
a preprocessing function, and a list of block indices. This allows for the projection of multiblock data, where each block
represents a different set of variables or features, with two-way mapping from samples to scores and from variables to components.
Arguments
- v
A matrix of components with dimensions
nrow(v)byncol(v)(number of columns = number of components).- s
A matrix of scores.
- sdev
A numeric vector of singular values.
- preproc
A pre-processing function for the data (default is a pass-through with
prep(pass())).- ...
Extra arguments.
- block_indices
A list of numeric vectors specifying the indices of each data block.
- classes
(optional) A character vector specifying the class attributes of the object, default is NULL.