fisher22_fast: Fisher (2x2) table association analysis for calculating one...

View source: R/fisher.R

fisher22_fastR Documentation

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)

Author(s)

ThorstenDickhaus


mutoss documentation built on March 31, 2023, 8:46 p.m.