project_block | R Documentation |
When observations are concatenated into "blocks", it may be useful to project one block from the set. This function facilitates the projection of a specific block of data onto a subspace. It is a convenience method for multi-block fits and is equivalent to a "partial projection" where the column indices are associated with a given block.
project_block(x, new_data, block, ...)
x |
The model fit, typically an object of a class that implements a |
new_data |
A matrix or vector of new observation(s) with the same number of columns as the original data |
block |
An integer representing the block ID to select in the block projection matrix. This ID corresponds to the specific block of data to be projected |
... |
Additional arguments passed to the underlying |
A matrix or vector of the projected data for the specified block
project
for the generic projection function
Other project:
project()
,
project.cross_projector()
,
project_vars()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.