m.cat: Decide which test to use for the p-value calculation by...

Description Usage Arguments Value Author(s) Examples

View source: R/m.cat.R

Description

It choose the test which should use for the p-value calculation for categorial variables. The Wilcoxon-Test, McNemar-Test and the Chi-Squared-Test are possible.

Usage

1
m.cat(group, paired = F, is.ordered = F)

Arguments

group

Vector of the grouping variable.

paired

Logical. Is the categorial Variable paired?

is.ordered

Logical. Is the categorial Variable ordered?

Value

The name of the test is returned.

Author(s)

Lorenz Uhlmann, Csilla van Lunteren

Examples

1
2
3
4
## Not run: 
m.cat(paired=T, is.ordered=T)

## End(Not run)

vanLunteren/DescrTab documentation built on May 4, 2019, 10:56 a.m.