Apply a test to a Contingency Tables object
add.test function in package Deducer to facilitate HTML output.
An object of class contingency.tables
Name of the test
A function or list of functions which take a matrix as its argument and returns an object of class
A character vector with the same number of items as
In package Deducer,
add.test applies a supplied list of tests to all of the tables in the
add.test function in package DeducerRichOutput adds two features to that function: 1. recovering the names of the strata in a multi-strata contingency table and 2. capturing warning messages using
contingency.tables object identical to
tables, but with the test applied to each table.