Setup PCA config.
Arguments
- k
Integer [1, Inf): Number of components. (passed to
prcomprank.)- center
Logical: If TRUE, center the data.
- scale
Logical: If TRUE, scale the data.
- tol
Optional Numeric [0, Inf): Tolerance.
- features
Optional Character vector: Names of at least 2 distinct feature columns to decompose.
NULLdecomposes all numeric features.