Learn R Programming

mutoss (version 0.1-10)

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

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)