binomial_basic: do binomial test

View source: R/binomial_enrichment.R

binomial_basicR Documentation

do binomial test

Description

does a binomial test

Usage

binomial_basic(
  positive_cases,
  total_cases,
  p_expected = 0.5,
  direction = "two.sided",
  conf_level = 0.95
)

Arguments

positive_cases

number of positive instances

total_cases

total number of cases observed

p_expected

what is the expected probability

direction

which direction is the test

conf_level

confidence level for the confidence interval

Value

list


rmflight/categoryCompare2 documentation built on Dec. 18, 2024, 9:13 a.m.