fisher.test(tt)
Francisco
gallon li wrote:
Here is my table
tt
A B
1 297 398
2 470 376
3 30 23
4 3 3
5 0 0
b/c two cells are zero, I can't use chisq.test() in R which gives the
following output;
chisq.test(tt)
Pearson's Chi-squared test
data: tt
X-squared = NaN, df = 4, p-value = NA
Warning message:
Chi-squared approximation may be incorrect in: chisq.test(tt)
What function should I use then? Any suggestion?
[[alternative HTML version deleted]]
__
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
and provide commented, minimal, self-contained, reproducible code.
__
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
and provide commented, minimal, self-contained, reproducible code.