internal.chisq.test.ind: Internal function for Chi-Squared Test of Independence
Description
Computes the chi-squared test for the given data.
Usage
internal.chisq.test.ind(the.data, group.name, value.name, correct = TRUE)
Value
A data frame containing the test statistic, degrees of freedom, and p-value.
Arguments
- the.data
The data table.
- group.name
Group variable name.
- value.name
Value variable name.
- correct
A logical indicating if a continuity correction should be applied.