ard_mcnemartest {cardx} | R Documentation |
ARD McNemar's Test
Description
Analysis results data for McNemar's statistical test.
Usage
ard_mcnemartest(data, by, variable, ...)
Arguments
data |
( |
by |
( |
variable |
( |
... |
arguments passed to |
Details
For the ard_mcnemartest()
function, the data is expected to be one row per subject.
The data is passed as stats::mcnemar.test(x = data[[variable]], y = data[[by]], ...)
.
Please use table(x = data[[variable]], y = data[[by]])
to check the contingency table.
Value
ARD data frame
Examples
cards::ADSL |>
ard_mcnemartest(by = "SEX", variable = "EFFFL")
[Package cardx version 0.1.0 Index]