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 May 31, 2017, 11:34 a.m.

Search within the CausalR package
Search all R packages, documentation and source code