paired
functionControl test and summary settings for the paired
function.
paired.control(
diff = TRUE,
numeric.test = "paired.t",
cat.test = "mcnemar",
ordered.test = "signed.rank",
date.test = "paired.t",
mcnemar.correct = TRUE,
signed.rank.exact = NULL,
signed.rank.correct = TRUE,
...
)
logical, telling paired
whether to calculate a column of differences between time points.
name of test for numeric RHS variables in paired
: paired.t, signed.rank, sign.test.
name of test for categorical variables: mcnemar
name of test for ordered variables: signed.rank, sign.test
name of test to perform for date variables: paired.t, signed.rank, sign.test
Options for statistical tests. See wilcox.test
and mcnemar.test
for details.
Arguments passed to tableby.control
A list with settings to be used within the paired
function.
Note that (with the exception of total
) all arguments to tableby.control
are accepted in
this function (in fact, this function passes everything through to tableby.control
).
However, there are different defaults for the statistical tests (shown here). For details on the other arguments,
please see the help page for tableby.control
.