cat.test {moonBook}R Documentation

Perform chisq.test or fisher test

Description

Perform chisq.test or fisher test

Usage

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


[Package moonBook version 0.3.1 Index]