R/fisher.exact.R

Defines functions `fisher.exact`

`fisher.exact` <-
function(x, y = NULL, or = 1, alternative = "two.sided",
    tsmethod="minlike", 
    conf.int = TRUE, conf.level = 0.95, tol=0.00001, midp=FALSE){
   call<-as.list(match.call())
   if (!is.null(call$tsmethod) && call$tsmethod=="blaker") warning("output is blaker's exact test")
   OUT<-do.call("exact2x2",call[-1],envir=parent.frame())
   OUT
}

Try the exact2x2 package in your browser

Any scripts or data that you put into this service are public.

exact2x2 documentation built on Feb. 16, 2023, 10:11 p.m.