Control 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,
  ...
)

Arguments

diff

logical, telling paired whether to calculate a column of differences between time points.

numeric.test

name of test for numeric RHS variables in paired: paired.t, signed.rank, sign.test.

cat.test

name of test for categorical variables: mcnemar

ordered.test

name of test for ordered variables: signed.rank, sign.test

date.test

name of test to perform for date variables: paired.t, signed.rank, sign.test

mcnemar.correct, signed.rank.exact, signed.rank.correct

Options for statistical tests. See wilcox.test and mcnemar.test for details.

...

Arguments passed to tableby.control

Value

A list with settings to be used within the paired function.

Details

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.

See also

Author

Ethan Heinzen