chisq.test2: Pearson's Chi-squared Test for Count Data

Description Usage Arguments Value Examples

View source: R/chisq.test2.R

Description

chisq.test performs chi-squared contingency table tests and goodness-of-fit tests,the faster version

Usage

1
chisq.test2(x1, x2)

Arguments

x1

the first vector,any length

x2

the second vector,needing same length

Value

X-squared n

Examples

1
2
3
4
5
6
7
## Not run: 
a=c(12,24)
b=c(25,10)
chisq2=chisq.test2(a,b)
chisq2

## End(Not run)

lvyuewen/StatComp18089 documentation built on May 5, 2019, 11:07 p.m.