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. 13, 2021, 6:43 a.m.