Over-rides the `add.test`

function in package Deducer to facilitate HTML output.

1 |

`tables` |
An object of class contingency.tables |

`name` |
Name of the test |

`htests` |
A function or list of functions which take a matrix as its argument and returns an object of class |

`types` |
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 `tables`

argument.
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 `withConditions`

A `contingency.tables`

object identical to `tables`

, but with the test applied to each table.

Bill Altermatt

`add.cross.strata.test`

, `chi.squared.test`

, `likelihood.test`

,
`fishers.exact.test`

, `cor.test`

, `kruskal.test`

, `withConditions`

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.