Description Usage Arguments Value Examples
Create name for prcomp
result
1 | prcompname(prcompResult, PC, explvar = TRUE)
|
prcompResult |
output value from |
PC |
PC number |
explvar |
(logical) show explained variance (%) or not |
String
1 2 3 4 | data(applejuice)
applejuice_uf <- unfold(applejuice) # unfold list into matrix
result <- prcomp(applejuice_uf)
prcompname(result, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.