This function calculates expected values for a rxc contingency table.

expval_table(M)

Arguments

M

a matrix of observed probabilities

Value

A matrix of expected values.

Author

Olivier Gimenez <olivier.gimenez@cefe.cnrs.fr>, Roger Pradel, Rémi Choquet