[R] need help for chi-squared test

kiotoqq kiotoqq at googlemail.com
Thu Jan 6 19:23:37 CET 2011


I've got a dataset which looks like this in the beginning:
 

     cbr  dust smoking expo
1      0  0.20       1    5
2      0  0.25       1    4
3      0  0.25       1    8
4      0  0.25       1    4
5      0  0.25       1    4

(till no. 1240, anyway, a huge set) 

I have to analyse cbr and smoking, I know it works with chisq.test() for the
whole set, but I only need cbr and smoking, and I have no idea how to
extract them. 
-- 
View this message in context: http://r.789695.n4.nabble.com/need-help-for-chi-squared-test-tp3177925p3177925.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list