truncate.composed_projector: Truncate a Composed Projector

View source: R/composed_projector.R

truncate.composed_projectorR Documentation

Truncate a Composed Projector

Description

Reduces the number of output components of the composed projector by truncating the last stage in the sequence.

Usage

## S3 method for class 'composed_projector'
truncate(x, ncomp, ...)

Arguments

x

A composed_projector object.

ncomp

The desired number of final output components.

...

Currently unused.

Details

Note: This implementation currently only supports truncating the final stage. Truncating intermediate stages would require re-computing subsequent stages or combined attributes and is not yet implemented.

Value

A new composed_projector object with the last stage truncated.


bbuchsbaum/multivarious documentation built on July 16, 2025, 11:04 p.m.