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.


jrosen48/konfound documentation built on April 13, 2024, 3:47 a.m.