Learn R Programming

CausalR (version 1.4.3)

CalculateTotalWeightForAllContingencyTables: calculate total weight for all contingency tables

Description

Calculates the total weights or D-values for all possible contingency tables. This value can be used to calculate the p-value

Usage

CalculateTotalWeightForAllContingencyTables(experimentalDataStats, returnlog = FALSE)

Arguments

experimentalDataStats
a vector containing the values n+, n- and n0, the number of positive/negative/non-significant (or contradictory) transcripts in the results
returnlog
whether the result should be returned as a log. Default is FALSE.

Value

a D-value or weight