Description Usage Arguments Details Value Author(s)
chi.square_pvalue
compute the Chi-squared test, with simulated p-values and get its p-value.
1 | chi.square_pvalue(contingency.table)
|
contingency.table |
Tibble. With the contingency table between two categorical questions |
The function is applied to a contingency table between two categorical variables, and
return the p-value of the Chi-square test though the usage of the stats::chisq.test
function.
Numeric. Chi-square p-value
Leonardo Rocha
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.