Learn R Programming

descsuppR (version 1.2)

w.fisher.test: fisher.test with unified interface

Description

fisher.test with unified interface

Usage

w.fisher.test(values, grouping, ...)

Value

the value fisher.test

Arguments

values

vector. The values to compare (age, toxicity score, gene expression, ...)

grouping

vector of the same length as values. treated as factor giving the group membership

...

additional parameters. are passed on to the fisher.test

Author

Andreas Leha

Details

just a call to fisher.test that unifies the api to other tests computes the exact p-value if possible and simulates the p-value otherwise