project_vars: Project one or more variables onto a subspace

View source: R/all_generic.R

project_varsR Documentation

Project one or more variables onto a subspace

Description

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).

Usage

project_vars(x, new_data, ...)

Arguments

x

The model fit, typically an object of a class that implements a project_vars method

new_data

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

Value

A matrix or vector of the projected variables in the subspace

See Also

project for the generic projection function for samples

Other project: project(), project.cross_projector(), project_block()


bbuchsbaum/multivarious documentation built on April 15, 2024, 3:33 a.m.