Displaying 1 result from an estimated 1 matches for "curswi".
2012 Aug 28
1
New to R
Hi,
I am new to R and using Rcmdr and like to automate and get into scripting...
I am using for evaluating two variables
.Table <- xtabs(~CurSWI+BckMo, data=swanalysis_run1)
.Table
fisher.test(.Table)
remove(.Table)
the output for this will be ....
> .Table
BckMo
CurSWI N/A No Yes
N/A 1 0 0
No 3 62 38
Yes 2 23 24
> fisher.test(.Table)
Fisher's Exact Test for Count Data
data: .Table
p-value = 0.026...