computePCA | R Documentation |
Computes principal components and stores the embedding in form of a data.frame.
computePCA(object, ...)
## S4 method for signature 'DimRed'
computePCA(object, n_dims = 2, verbose = TRUE, ...)
## S4 method for signature 'Analysis'
computePCA(object, n_dims, verbose = TRUE)
object |
Any object for whose class a method has been defined. |
... |
Additional arguments given to |
n_dims |
Numeric value. Integer that indicates the number of principal components to compute. Must be lower than the number of numeric variables based on which principal components are computed. |
verbose |
Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.