The R Stats Package function prcomp is used to perform a principal components analysis on the given data matrix. It returns the results as an object of class ```prcomp```.