chisq_p: Perform a Chi-Square Test

View source: R/nonlinear_auxiliary.R

chisq_pR Documentation

Perform a Chi-Square Test

Description

'chisq_p' calculates the p-value for a chi-square test given a contingency table.

Usage

chisq_p(a, b, c, d)

Arguments

a

Frequency count for row 1, column 1.

b

Frequency count for row 1, column 2.

c

Frequency count for row 2, column 1.

d

Frequency count for row 2, column 2.

Value

P-value from the chi-square test.


konfound documentation built on Oct. 17, 2024, 5:08 p.m.