partial_projector.projector | R Documentation |
projector
instanceconstruct a partial_projector from a projector
instance
## S3 method for class 'projector'
partial_projector(x, colind, ...)
x |
The original |
colind |
A numeric vector of column indices to select in the projection matrix. These indices correspond to the variables used for the partial projector |
... |
Additional arguments passed to the underlying |
A partial_projector
instance
# Assuming pfit is a projector with many components:
# pp <- partial_projector(pfit, 1:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.