This function performs Principal Component Analysis (PCA) on the
data. Variables are always centred before
the PCA is performed and, if scale is set, the variables
will also be rescaled to unit variance.
If compute.scores is set to FALSE, only the information
required for the toPC() and fromPC() to work is stored
in the returned coords object; otherwise the scores will
be stored in the $y field of the coords object.
The PCA() function is an alternative to
the prcomp() command from the standard library.
The main advantage of PCA() is that the coords
class provides functions to convert between the original basis and the
principal component basis.