Learn R Programming

multivarious (version 0.3.1)

project_block.multiblock_projector: Project Data onto a Specific Block

Description

Projects the new data onto the subspace defined by a specific block of variables.

Usage

# S3 method for multiblock_projector
project_block(x, new_data, block, least_squares = TRUE, ...)

Value

The projected scores for the specified block.

Arguments

x

A multiblock_projector object.

new_data

The new data to be projected.

block

The block index (1-based) to project onto.

least_squares

Logical. If TRUE (default), use least squares projection.

...

Additional arguments passed to partial_project.