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 of 0.22 not significant at 5%


what is the difference between the two

thanks

bragadeesh

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to