[R] How to do a PCA with ordered variables?
Mark Difford
mark_difford at yahoo.co.uk
Thu Sep 17 17:52:12 CEST 2009
P. Branco wrote:
>> I have used the dudi.mix method from the ade4 package, but when I do the
>> $index it shows
>> me that R has considered my variables as quantitative.
>> What should I do?
You should make sure that they are encoded as ordered factors, which has
nothing to do with ade4's dudi.mix().
##
?ordered
Mark.
P.Branco wrote:
>
> Hi,
>
> I want to do a pca using a set of variables which are ordered. I have used
> the dudi.mix method from the ade4 package, but when I do the $index it
> shows me that R has considered my variables as quantitative.
>
> What should I do?
>
--
View this message in context: http://www.nabble.com/How-to-do-a-PCA-with-ordered-variables--tp25491950p25491969.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list