McNemar's Chi-Square Test Dialog Function

DESCRIPTION:

This function is used by the McNemar's Chi-Square Test dialog.

USAGE:

menuMcnemar(x, y, data, correct=T, print.p=T, is.table=F) 

REQUIRED ARGUMENTS:

x
name of factor variable indicating first margin value.
y
name of factor variable indicating second margin value.
data
if is.table=F then data set containing x and y. Otherwise a contingency table.

OPTIONAL ARGUMENTS:

correct
logical indicating whether to apply a continuity correction.
print.p
logical indicating whether to print a summary of the test.
is.table
logical indicating whether data is a contingency table.

VALUE:

an htest object as described in the help for mcnemar.test.

SEE ALSO: