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.02689 alternative hypothesis: two.sided *************** What i would like to do is get an output in a excel or csv format with p.value and BckMo (BckMo, 0.02689) pls help me...thanks in advance.. cheers Mouli -- View this message in context: http://r.789695.n4.nabble.com/New-to-R-tp4641489.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.