Hello,
I want to do a simple correspondence analysis in R, using the ca package.
First, I create and define a 2-by-2-table (table=table(var1,var2)), which looks 
like this: 

           Low(var1)  high(var1)
Low(var2)  35         28
High(var2) 26         32

Var1 and Var2 are categorical factors.
When I want to run the ca on this table (typing ca(table)),
I get the following error message: 

Fehler in t(obj$rowcoord[, 1:nd]) : Indizierung außerhalb der Grenzen
(subscript out of bounds)

I don’t know why the ca command doesn’t work, can you help me?

Thanks!!



--

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to