cat.test: Perform chisq.test or fisher test

Description Usage Arguments

View source: R/mytable.R

Description

Perform chisq.test or fisher test

Usage

1
cat.test(x, mode = 1, ...)

Arguments

x

a numeric vector or matrix. x and y can also both be factors.

mode

An integer. If 1(default), perform chisq.test first, If 2, perform fisher.test first

...

Further arguments to be passed to chisq.test or fisher.test


moonBook documentation built on Jan. 5, 2022, 9:06 a.m.