
Last chance! 50% off unlimited learning
Sale ends in
dudi.pca
on Coe
-objects.pca
is a wrapper for dudi.pca
in ade4
on Coe
-objects.pca(Coe, subset.fac=NULL,
subset.lev=NULL,
row.w,
col.w,
center=TRUE,
scale=FALSE,
scannf=FALSE,
nf=3)
Coe
objectNULL
, a character
to specify the grouping factor on which to perform the PCA.NULL
for subset.fac
, then a character
to specify the level of subset.fac
on which to perform the PCA.vector
giving the rows weights (see Details).vector
giving the cols weights (see Details).logical
. Whether to center or not the harmonic coefficients.logical
. Whether to scale or not the harmonic coefficients.logical
. Whether to ask or not the number of PC to retain.integer
. If scannf
is FALSE, then the number of PC to retain.dudi.pca
objectade4
and also the package's homepage: data(bot)
botE <- eFourier(bot)
botP <- pca(botE)
dudi.plot(botP, "type")
beer <- pca(botE, "type", "beer")
dudi.plot(beer)
whisky <- pca(botE, "type", "whisky")
dudi.plot(whisky)
Run the code above in your browser using DataLab