Learn R Programming

multivarious (version 0.3.1)

truncate.composed_projector: 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 composed_projector
truncate(x, ncomp, ...)

Value

A new composed_projector object with the last stage truncated.

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.