Given a matrix of values, runs principal component analysis (PCA)
using prcomp.
Value
visqc_run_pca returns a list containing
scoresa data.frame of scores, each column is a principal component.
loadingsa data.frame of the loadings, each column is a principal component.
variancesa data.frame of variance information, each row is a principal component.
Details
runs PCA via prcomp, turns the scores into a data.frame,
labelled with their percent variance contribution if labelled is
available, and returns the scores, the loadings, and the
variance contributions.