Re: [R] Help: chisq.test

2005-12-10 Thread J Dougherty
On Saturday 10 December 2005 17:37, Thanjavur Bragadeesh wrote: > I have two groups of patients (improved or not improved) named x and y > group respectively after being treated with 5 different drugs > > X<-c(43,52,25,48,57) and > > Y<-c(237,198,245,212,233) > > when I run > > chisq.test(cbind(x,y

Re: [R] Help: chisq.test

2005-12-10 Thread Kjetil Brinchmann Halvorsen
Thanjavur Bragadeesh wrote: > I have two groups of patients (improved or not improved) named x and y group > respectively after being treated with 5 different drugs > > X<-c(43,52,25,48,57) and > > Y<-c(237,198,245,212,233) > > when I run > > chisq.test(cbind(x,y)) > This takes cbind(X,Y) as

[R] Help: chisq.test

2005-12-10 Thread Thanjavur Bragadeesh
I have two groups of patients (improved or not improved) named x and y group respectively after being treated with 5 different drugs X<-c(43,52,25,48,57) and Y<-c(237,198,245,212,233) when I run chisq.test(cbind(x,y)) I get a p value of <0.0024 but if I run chisq.test(x,y) I get a p value