TwoByTwoTable-class: 2x2 Contingency Table

TwoByTwoTable-classR Documentation

2x2 Contingency Table

Description

A class to store a contingency table as a table, calculate associated statistics and specify which values should be used as the reference when calculating statistics. This variant must have two rows and two columns.

Slots

data

a table representing the contingency table to calculate statistics for

columnReferenceValue

A string representing a value present in the column names of the contingency table

rowReferenceValue

A string representing a value present in the row names of the contingency table


VEuPathDB/plot.data documentation built on Feb. 20, 2025, 6:33 p.m.