Learn R Programming

mutoss (version 0.1-12)

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)

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)

Author

ThorstenDickhaus

Arguments

obs

The observed (2x2) table

epsilon

A threshold for comparing real numbers to zero