powered by
Format fisher.test (test of categorical independence).
# S3 method for sigr_fishertest render( statistic, ..., format, statDigits = 4, sigDigits = 4, pLargeCutoff = 0.05, pSmallCutoff = 1e-05 )
wrapped Fisher test
extra arguments (not used)
if set the format to return ("html", "latex", "markdown", "ascii", "docx", ...)
integer number of digits to show in summaries.
integer number of digits to show in significances.
value to declare non-significance at or above.
smallest value to print
formatted string and fields
# NOT RUN { d <- data.frame(x=c('b','a','a','a','b','b','b'), y=c('1','1','1','2','2','2','2')) ft <- fisher.test(table(d)) wrapFisherTest(ft) # }
Run the code above in your browser using DataLab