[R] need help for chi-squared test

kiotoqq kiotoqq at googlemail.com
Thu Jan 6 20:34:43 CET 2011

I used chisq.test(read.table("C:/Users/Maggy/Downloads/dust.asc",

and got this

        Pearson's Chi-squared test

data:  read.table("C:/Users/Maggy/Downloads/dust.asc", header = TRUE) 
X-squared = 5226.164, df = 3735, p-value < 2.2e-16

and I think it should be right for the whole set, but that's not what I
need, because I only have to use it for "cbr" and "smoking"
View this message in context: http://r.789695.n4.nabble.com/need-help-for-chi-squared-test-tp3177925p3178052.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list