fisher_test: Fisher's test

View source: R/fisher-test.R

fisher_testR Documentation

Fisher's test

Description

Wraps fisher.test and tidies the output with broom

Usage

fisher_test(a_positive, a_negative, b_positive, b_negative,
  alternative = "two.sided", conf_level = 0.95)

Arguments

a_positive

Upper left quadrant.

a_negative

Upper right quadrant.

b_positive

Lower left quadrant.

b_negative

Lower right quadrant.

alternative

two.sided greater or less

conf_level

Level of confidence, if returning CIs.

Value

Test statistics


kpjonsson/kpjmisc documentation built on Jan. 14, 2024, 2:38 a.m.