Reduces the number of output components of the composed projector by truncating the last stage in the sequence.
# S3 method for composed_projector
truncate(x, ncomp, ...)A new composed_projector object with the last stage truncated.
A composed_projector object.
The desired number of final output components.
Currently unused.
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.