prcompname {EEM} | R Documentation |
Create name for prcomp result
Description
Create name for prcomp
result
Usage
prcompname(prcompResult, PC, explvar = TRUE)
Arguments
prcompResult |
output value from |
PC |
PC number |
explvar |
(logical) show explained variance (%) or not |
Value
String
Examples
data(applejuice)
applejuice_uf <- unfold(applejuice) # unfold list into matrix
result <- prcomp(applejuice_uf)
prcompname(result, 1)
[Package EEM version 1.1.1 Index]