R/11_S7_DecompositionConfig.R
setup_PCA.Rd
Setup PCA config.
setup_PCA(k = 3L, center = TRUE, scale = TRUE, tol = NULL)
Integer: Number of components. (passed to prcomp rank.)
prcomp
rank.
Logical: If TRUE, center the data.
Logical: If TRUE, scale the data.
Numeric: Tolerance.
PCAConfig object.
EDG
pca_config <- setup_PCA(k = 3L) pca_config #> <PCA DecompositionConfig> #> k: <int> 3 #> center: <lgc> TRUE #> scale: <lgc> TRUE #> tol: <NUL> NULL