check row and column sum values are valid

Share:

Description

Checkes to see if the values of r+, r-, c+ and c- which are stored in rowAndColumnSumValues define a valid contingency table

Usage

1
2
CheckRowAndColumnSumValuesAreValid(rowAndColumnSumValues, predictionListStats,
  experimentalResultStats)

Arguments

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

Value

TRUE if the table is valid; otherwise FALSE

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.