Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

paired.control

Control settings for paired function


Description

Control test and summary settings for the paired function.

Usage

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

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.

Value

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

Author(s)

Ethan Heinzen

See Also


arsenal

An Arsenal of 'R' Functions for Large-Scale Statistical Summaries

v3.6.2
GPL (>= 2)
Authors
Ethan Heinzen [aut, cre], Jason Sinnwell [aut], Elizabeth Atkinson [aut], Tina Gunderson [aut], Gregory Dougherty [aut], Patrick Votruba [ctb], Ryan Lennon [ctb], Andrew Hanson [ctb], Krista Goergen [ctb], Emily Lundt [ctb], Brendan Broderick [ctb], Maddie McCullough [art]
Initial release
2021-02-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.