Learn R Programming

multivarious (version 0.2.0)

project.cross_projector: project a cross_projector instance

Description

project a cross_projector instance

Usage

# S3 method for cross_projector
project(x, new_data, source = c("X", "Y"), ...)

Value

the projected data

Arguments

x

The model fit, typically an object of class bi_projector or any other class that implements a project method

new_data

A matrix or vector of new observations with the same number of columns as the original data. Rows represent observations and columns represent variables

source

the source of the data (X or Y block)

...

Extra arguments to be passed to the specific project method for the object's class

See Also

Other project: project(), project_block(), project_vars()