chi2_totable(m)

Returns a contingency table stored in matrix m into the format used by the Calcugator.


See also chi2_table chi2_goodness chi2_independent 


Example


M=(8, 3 ; 5, 10)

/ 8  3 \

\ 5 10 /

chi2_totable(M)

/ "" "" "" "" \

| ""  8  3 11 |

| ""  5 10 15 |

\ "" 13 13 26 /