ard_chisqtest: ARD Chi-squared Test

View source: R/ard_chisqtest.R

ard_chisqtestR Documentation

ARD Chi-squared Test

Description

Analysis results data for Pearson's Chi-squared Test. Calculated with chisq.test(x = data[[variable]], y = data[[by]], ...)

Usage

ard_chisqtest(data, by, variable, ...)

Arguments

data

(data.frame)
a data frame.

by, variable

(tidy-select)
column names to compare

...

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

Value

ARD data frame

Examples

cards::ADSL |>
  ard_chisqtest(by = "ARM", variable = "AGEGR1")

cardx documentation built on May 29, 2024, 11:04 a.m.