ard_stats_chisq_test: ARD Chi-squared Test

View source: R/ard_stats_chisq_test.R

ard_stats_chisq_testR 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_stats_chisq_test(data, by, variables, ...)

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.

...

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

Value

ARD data frame

Examples


cards::ADSL |>
  ard_stats_chisq_test(by = "ARM", variables = "AGEGR1")


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