chi.square_pvalue: Compute Chi-square p-value

Description Usage Arguments Details Value Author(s)

View source: R/tabulate_aux.R

Description

chi.square_pvalue compute the Chi-squared test, with simulated p-values and get its p-value.

Usage

1
chi.square_pvalue(contingency.table)

Arguments

contingency.table

Tibble. With the contingency table between two categorical questions

Details

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.

Value

Numeric. Chi-square p-value

Author(s)

Leonardo Rocha


leofmr/surveystats documentation built on March 19, 2021, 3:48 p.m.