Flexible Contingency Tables for Epidemiology

Builds contingency tables that cross-tabulate multiple categorical variables and also calculates various summary measures. Export to a variety of formats is supported, including: 'HTML', 'LaTeX', and 'Excel'.


epitab

Travis-CI Build Status

Provides contingency tables for descriptive stats for epidemiology in R. Alongside the cross-tabulated frequencies, epitab can provide summary statistics such as coefficients from regression models, and summary statistics of continuous variables with respect to the outcome of interest. A variety of useful summary measures are provided with epitab, but the package is also designed in such a way to allow the user to supply their own statistics, allowing for a flexible approach to table design that can be employed in a variety of situations. The ability to export the resulting tables to publication friendly formats is also provided, including HTML, LaTeX, and Word.

Usage

See the User Guide vignette for examples of the tables that can be built, and how to export these to other documents.

Installation

The latest stable release can be installed from CRAN by running install.packages('epitab'), while the latest development version can be installed from the development Github repository by using devtools::install_github('stulacy/epitab').

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("epitab")

0.2.2 by Stuart Lacy, 8 years ago


https://github.com/stulacy/epitab


Browse source code at https://github.com/cran/epitab


Authors: Stuart Lacy


Documentation:   PDF Manual  


GPL-2 license


Imports kableExtra, knitr, MASS, survival, xml2

Suggests dplyr, rmarkdown


See at CRAN