internal.chisq.test.gf {simitation} | R Documentation |
Computes the chi-squared test for the given categorical data.
internal.chisq.test.gf(x, hypothesized.probs = NULL, correct = TRUE)
x |
A categorical variable. |
hypothesized.probs |
Hypothesized probabilities for each level of x. |
correct |
A logical indicating if a continuity correction should be applied. |
A data frame containing the test statistic, degrees of freedom, and p-value.