ind_test_rc | R Documentation |
This function tests independence in rxc contingency tables
ind_test_rc(M, threshold = 2, rounding = 3)
M |
is an r by c table of non-negative integers |
threshold |
is a threshold for low expected numbers; default is 2 |
rounding |
is the level of rounding for outputs; default is 3 |
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, degree of freedom and test performed (Chi-square, Fisher or None).
Olivier Gimenez <olivier.gimenez@cefe.cnrs.fr>,Jean-Dominique Lebreton, RĂ©mi Choquet, Roger Pradel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.