pool2K {R2ucare} | R Documentation |
Pooling algorithm
Description
This function pools columns of a 2xK contingency table (if needed, ie if low numbers present)
Usage
pool2K(M, low = 2)
Arguments
M |
is a 2 by K contingency table (or a K by 2 table) |
low |
is a threshold for low expected numbers; default is 2 (if this argument is big enough, the table is pooled down to 2 x 2; if this argument is 0, the table is not pooled) |
Value
This function returns a matrix with the pooled contingency table.
Author(s)
Olivier Gimenez <olivier.gimenez@cefe.cnrs.fr>, Jean-Dominique Lebreton, RĂ©mi Choquet, Roger Pradel
[Package R2ucare version 1.0.2 Index]