Re: [R] Fisher Test in R

2012-05-11 Thread arun
nd dietary habits. Alternative hypothesis: There is an association between gender and dietary habits (two-sided) There is a positive association between gender and dietary habits (one-sided- greater) A.K. - Original Message - From: Aayush Raman To: r-help@r-project.org Cc: S

[R] Fisher Test in R

2012-05-11 Thread Aayush Raman
Suppose we have the following data set: MenWomen Dieting 10 30 Non-dieting 5 60 If I run the Fisher exact test in R then what does alternative = greater (or less) imply? For example: mat = matrix(c(10,5,30,60), 2,2) fisher.test(mat,alternative ="greate