Proportions Test Dialog Function
DESCRIPTION:
This function is used by the Proportions Test dialog.
USAGE:
menuProp(x, n, p=NULL, data, alternative="two.sided", conf.level=0.95,
correct=T, print.p=T)
REQUIRED ARGUMENTS:
- x
-
number of successes per trial.
- n
-
number of trials.
- data
-
data set of interest.
OPTIONAL ARGUMENTS:
- p
-
hypothesized proportion.
- alternative
-
alternative hypothesis.
- conf.level
-
confidence level for hypothesis test.
- correct
-
logical indicating whether to apply Yates' continuity correction.
- print.p
-
logical indicating whether to print a summary of the test.
VALUE:
an
htest
object as described in the help for
prop.test
.
SEE ALSO: