basis_pca | R Documentation |
The orthogonal linear components of the variables in the next largest direction of variance.
basis_pca(data, d = 2)
data |
Numeric matrix or data.frame of the observations. |
d |
Number of dimensions in the projection space. |
Rdimtools::do.pca
Other basis producing functions:
basis_guided()
,
basis_half_circle()
,
basis_odp()
,
basis_olda()
,
basis_onpp()
dat <- scale_sd(wine[, 2:6])
basis_pca(data = dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.