Re: [R] question regarding hypothesis testing in contingency tables

2008-01-13 Thread Bernardo Rangel Tura
On Thu, 2008-01-10 at 09:47 -0800, eugen pircalabelu wrote: > Hi R-users! > > I have the following example: > a<-data.frame(cat=c(5,10,15), dog=c(5,10, 15), mouse=c(10,10,20)) > b<-data.frame(cat=c(15,10,5), dog=c(15, 10, 5), mouse=c(20,10,10)) > rownames(b)<-c("scared", "happy", "sad") > rowname

[R] question regarding hypothesis testing in contingency tables

2008-01-10 Thread eugen pircalabelu
Hi R-users! I have the following example: a<-data.frame(cat=c(5,10,15), dog=c(5,10, 15), mouse=c(10,10,20)) b<-data.frame(cat=c(15,10,5), dog=c(15, 10, 5), mouse=c(20,10,10)) rownames(b)<-c("scared", "happy", "sad") rownames(a)<-c("scared", "happy", "sad") Let's say that a and b are 2 contingency