Computes the test for proportion for the given binary data.
internal.prop.test(
x,
p = NULL,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95,
correct = TRUE
)A data frame with test results.
A binary variable.
Null hypothesis value for proportion. Default is NULL.
A character string specifying the alternative hypothesis. One of "two.sided", "less", or "greater". Default is "two.sided".
A numeric value between 0 and 1 indicating the confidence level for the interval estimate of the proportion. Default is 0.95.
A logical indicating if Yates' continuity correction should be applied for the test. Default is TRUE.