my.chisq.test {moonBook}R Documentation

Internal mytable functions

Description

Internal mytable functions These are not to be called by the user

Usage

my.chisq.test(x, y, mydata, catMethod = 2)

Arguments

x

a vector

y

a vector

mydata

A data.frame

catMethod

An integer indicating methods for categorical variables. Possible values in methods are

0

Perform chisq.test first. If warning present, perform fisher test

1

Perform chisq.test without continuity correction

2

Perform chisq.test with continuity correction

3

perform fisher.test

4

perform prop.trend test

Default value is 2.


[Package moonBook version 0.3.1 Index]