Hi, Thanks for the input. I have tried the test again just using the Observed values and the read.table() function and get this:
data: y X-squared = NaN, df = 5405, p-value = NA Warning message: Chi-squared approximation may be incorrect in: chisq.test(y) So it doesn't seem to like it! I guess the zeroes are a problem for it. Is there another way around? Do I need to have the totals of each column and row in the file also? Thanks, Carina ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
