View source: R/composed_projector.R
truncate.composed_projector | R Documentation |
Reduces the number of output components of the composed projector by truncating the last stage in the sequence.
## S3 method for class 'composed_projector'
truncate(x, ncomp, ...)
x |
A |
ncomp |
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.
A new composed_projector
object with the last stage truncated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.