princomp function - RDocumentation
princomp performs a principal components analysis on a numeric data matrix and returns an object of class princomp. Learn how to use the formula, data, subset, na.action, cor, scores, covmat and other arguments, and h...