Stats >> WebLog >> Two nice R libraries (October 14, 2005). Category: R software

I found a couple of nice libraries in R available from CRAN (Comprehensive R Achive Network). The first, vcd, was recommended by a regular contributor to the epidemio-l list. This library provides visualization techniques with special emphasis on categorical data. There is a nice function to draw a series of odds ratios and confidence intervals, for example, and very simple code to produce a mosaic plot. A more thorough description of vcd is available at

According to the description, the functions in vcd were inspired by the book

which I do not have in my library, but which sounds like a very interesting book.

I found the second library, epitools, when I went searching on the web for resources to calculate an exact confidence interval for a Poisson rate. In addition to the exact Poisson intervals, the package can perform age standardization, draw epidemic curves, and has a variety of useful utility functions and interesting data sets. The description of epitools is available at

and the authors maintain a site for this library and other free software at

Stats >> WebLog >> Two nice R libraries (October 14, 2005)

This page was last modified on 08/21/07. Send feedback to ssimon at cmh dot edu or click on the email link at the top of the page.

You are welcome to link to this page or other pages on this web site. Individual educational uses are also okay. Please contact me for permission to use these pages in any other way. For more details, please consult my copyright notice.