powered by
projector
construct a partial_projector from a projector instance
# S3 method for projector partial_projector(x, colind, ...)
A partial_projector instance
partial_projector
The original projector instance, typically an object of class bi_projector or any other class that implements a partial_projector method
bi_projector
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_projector method
X <- matrix(rnorm(10*10), 10, 10) pfit <- pca(X, ncomp=9) proj <- project(pfit, X) pp <- partial_projector(pfit, 1:5)
Run the code above in your browser using DataLab