CheckRowAndColumnSumValuesAreValid {CausalR} | R Documentation |
Checkes to see if the values of r+, r-, c+ and c- which are stored in rowAndColumnSumValues define a valid contingency table
CheckRowAndColumnSumValuesAreValid(rowAndColumnSumValues, predictionListStats, experimentalResultStats)
rowAndColumnSumValues |
a 4x1 vector containing the row and column sum values (r+, r-, c+, c-) for a 2x2 contingency table |
predictionListStats |
a vector containing the values q+, q- and q0 |
experimentalResultStats |
A vector containing the values n+, n- and n0 |
TRUE if the table is valid; otherwise FALSE