CheckRowAndColumnSumValuesAreValid: check row and column sum values are valid

Description Usage Arguments Value

View source: R/CheckRowAndColumnSumValuesAreValid.r

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


CausalR documentation built on Nov. 8, 2020, 5:25 p.m.