powered by
It returns the coordinates and aids to the interpretation when one or more qualitative variables are projected as ilustrative in PCA or MCA
supqual(du,qual)
object of class list with the following:
list
weight of the categories in PCA case
frequency of the categories in MCA case
square distance to the origin from the complete space
factorial coordinates
test values
square cosinus
relation of correaltion
a object of class ``pca'' or ``acm'' (``dudi'') obtained with dudi.pca or dudi.acm of package ade4
dudi.pca
dudi.acm
ade4
a data.frame of qualitative variables as factors
Campo Elias Pardo cepardot@unal.edu.co
# in PCA data(admi) Y<-admi[,2:6] pcaY<-dudi.pca(Y,scannf=FALSE) Yqual<-admi[,c(1,8)] supqual(pcaY,Yqual) # in MCA Y<-admi[,c(8,11,9,10)] mcaY<-dudi.acm(Y,scannf=FALSE) supqual(mcaY,admi[,c(1,13)])
Run the code above in your browser using DataLab