View source: R/ard_mcnemartest.R
ard_mcnemartest | R Documentation |
Analysis results data for McNemar's statistical test.
ard_mcnemartest(data, by, variable, ...)
data |
( |
by |
( |
variable |
( |
... |
arguments passed to |
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.
ARD data frame
cards::ADSL |>
ard_mcnemartest(by = "SEX", variable = "EFFFL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.