Skip to contents

Chi-squared test of independence

Usage

chi2_independence(contingency_table, correction = TRUE)

Arguments

contingency_table

A matrix or table of counts.

correction

Yates's continuity correction (2x2).