Learn R Programming

cardx (version 0.1.0)

ard_chisqtest: 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, ...)

Value

ARD data frame

Arguments

data

(data.frame)
a data frame.

by, variable

(tidy-select)
column names to compare

...

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

Examples

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

Run the code above in your browser using DataLab