Description Usage Arguments Value Examples
View source: R/dimensionality.R
Takes in a tibble or data frame of observations (rows) of several numeric variables (columns), and return an approximation of the data using a given number of first principal components.
1 | pcApprox(x, npc)
|
x |
A tibble or data frame containing the data to be approximated. |
npc |
The numbers of first principal components to use when approximating the data. |
Approximated data with the first npc principal components.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.