chiSquareCounts: BMI585 final project: chiSquareCounts for Chi square test

Description Usage Arguments Value Examples

View source: R/chiSquareCounts.R

Description

This functions accept a dataframe which is a table by Nx2

Usage

1

Arguments

tib:

a dataframe as a table

Value

result: chi square test statistics

Examples

1
2
tib <- data.frame(Male = c(71,3,201),Female = c(64,8,89))
chiSquareCounts(tib)

shaoyanpan/BMI585final2 documentation built on Dec. 23, 2021, 1:20 a.m.