perform.chisq.test: Perform Chisq Test or Fisher's Exat Test

View source: R/perform.chisq.test.R

perform.chisq.testR Documentation

Perform Chisq Test or Fisher's Exat Test

Description

This function calculates the p-value for the categorical variable according to the different tpye of data.

Usage

perform.chisq.test(x, y, paired = FALSE, verbose = FALSE)

Arguments

x

A categorical vector

y

A Categorical vector

paired

If TRUE, then perform Mcnemar Test.

Value

Return the p value for categorical contingency table


parkseeh/INRAETableOne documentation built on April 19, 2022, 1:28 a.m.