Construct a partial projector
partial_projector.RdCreate a new projector instance restricted to a subset of input columns. This function allows for the generation of a new projection object that focuses only on the specified columns, enabling the projection of data using a limited set of variables.
Arguments
- x
The original
projectorinstance, typically an object of classbi_projectoror any other class that implements apartial_projectormethod- 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
partial_projectormethod
Value
A new projector instance, with the same class as the original object, that is restricted to the specified subset of input columns
See also
bi_projector for an example of a class that implements a partial_projector method