[R] Help: chisq.test

Thanjavur Bragadeesh bragadeesh02 at hotmail.com
Sun Dec 11 02:37:57 CET 2005

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


when I run


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



More information about the R-help mailing list