powered by
performs PCA on numeric data frames
pcaAnalysis(df)
A numeric data frame w/o NA's
A list that contains the data frame of principle components and the proportion of variance explained by each PC.
http://healthcare.ai
healthcareai
# NOT RUN { data(iris) head(iris) df <- iris[,1:4] res <- pcaAnalysis(df) head(res[[1]]) # }
Run the code above in your browser using DataLab