Rdocumentation
powered by
Learn R Programming
mutoss (version 0.1-7)
fisher22_fast: Fisher (2x2) table association analysis for calculating one (marginal) p-value...
Description
Fisher (2x2) table association analysis for calculating one (marginal) p-value
Usage
fisher22_fast(obs, epsilon)
Arguments
obs
The observed (2x2) table
epsilon
A threshold for comparing real numbers to zero
Value
A list containing:
nonrand_p
The non-randomized (conservative) p-value
rand_p
The randomized (non-conservative) p-value
prob_table
The conditional probability of the observed table (given the merginals)