Mantel-Haenszel's Chi-Square Test Dialog Function
DESCRIPTION:
This function is used by the Mantel-Haenszel's Chi-Square Test dialog.
USAGE:
menuMantelHaen(x, y, z, data, correct=T, print.p=T)
REQUIRED ARGUMENTS:
- x
-
factor variable indicating first margin.
- y
-
factor variable indicating second margin.
- z
-
factor variable indicating third margin.
- data
-
data set containing
x
,
y
, and
z
.
OPTIONAL ARGUMENTS:
- correct
-
logical indicating whether to apply a continuity correction.
- print.p
-
logical indicating whether to print a summary of the test.
VALUE:
an
htest
object as described in the help for
mantelhaen.test
.
SEE ALSO: