This function projects one or more variables onto a subspace. It is often called supplementary variable projection and can be computed for a biorthogonal decomposition, such as Singular Value Decomposition (SVD).
project_vars(x, new_data, ...)A matrix or vector of the projected variables in the subspace
The model fit, typically an object of a class that implements a project_vars method
A matrix or vector of new observation(s) with the same number of rows as the original data
Additional arguments passed to the underlying project_vars method
project for the generic projection function for samples
Other project:
project(),
project.cross_projector(),
project_block()