ard_stats_fisher_test: ARD Fisher's Exact Test

View source: R/ard_stats_fisher_test.R

ard_stats_fisher_testR Documentation

ARD Fisher's Exact Test

Description

Analysis results data for Fisher's Exact Test. Calculated with fisher.test(x = data[[variable]], y = data[[by]], ...)

Usage

ard_stats_fisher_test(data, by, variables, conf.level = 0.95, ...)

Arguments

data

(data.frame)
a data frame.

by

(tidy-select)
column name to compare by

variables

(tidy-select)
column names to be compared. Independent tests will be computed for each variable.

conf.level

(scalar numeric)
confidence level for confidence interval. Default is 0.95.

...

additional arguments passed to fisher.test(...)

Value

ARD data frame

Examples


cards::ADSL[1:30, ] |>
  ard_stats_fisher_test(by = "ARM", variables = "AGEGR1")


cardx documentation built on Sept. 11, 2024, 9:12 p.m.