Learn R Programming

roar (version 1.2.0)

getFisher: Private/inner/helper method to perform Fisher test

Description

This method should not be used by package users. Given a numerical vector of length 4 it will perform a Fisher test and return the p-value for the two.sided test. Non-integer values will be rounded.

Usage

getFisher(counts)

Arguments

counts
A numerical vector of length 4.

Value

The pvalue for the two.sided Fisher test.