ind_test_22: Test of independence for 2x2 contingency tables

Description Usage Arguments Value Author(s)

View source: R/ind_test_22.R

Description

This function tests independence in 2x2 contingency tables

Usage

1
ind_test_22(M, threshold = 2, rounding = 3)

Arguments

M

is a 2x2 contingency table

threshold

is a threshold for low expected numbers; default is 2

rounding

is the level of rounding for outputs; default is 3

Value

This function returns a vector with statistic of quadratic chi2 or inv chi2 corresponding to pvalue of Fisher test, p-value of quadratic chi2 test or Fisher test for low numbers, signed test and test performed (Chi-square, Fisher or None).

Author(s)

Olivier Gimenez <olivier.gimenez@cefe.cnrs.fr>,Jean-Dominique Lebreton, R<c3><a9>mi Choquet, Roger Pradel


R2ucare documentation built on May 2, 2019, 8:22 a.m.