Description Usage Arguments Value
Takes an afaces objet, uses as.matrix.afaces to convert it into a wide matrix,
then call prcomp to perform the PCA. Returns a PCA
object ala Momocs
on which plot
, MANOVA
, etc. are defined.
1 2 | ## S3 method for class 'afaces'
PCA(x, scale. = TRUE, center = TRUE, fac = data.frame())
|
x |
an afaces object |
scale. |
logical, whether to scale the matrix |
center |
logical, whether to center the matrix |
fac |
data.frame (optionnal) that can be use with Momocs' PCA facilities. |
a list with the same components as prcomp plus
$scale
, $center
, $mshape
and $dim
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.