pool2K: Pooling algorithm

View source: R/pool2K.R

pool2KR 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


R2ucare documentation built on July 11, 2022, 9:06 a.m.