Skip to content

Instantly share code, notes, and snippets.

View harrelfe's full-sized avatar

Frank Harrell harrelfe

View GitHub Profile
@harrelfe
harrelfe / aedotplot.r
Created January 25, 2012 05:12
Adverse Event Dotplot for R
require(lattice)
## The following functions are in the HH package
panel.ae.dotplot <-
function (x, y, groups, ..., col.AB, pch.AB, lower, upper)
{
panel.num <- panel.number()
if (panel.num == 1)
panel.ae.leftplot(x, y, groups = groups,
col = col.AB, pch = pch.AB, ...)
if (panel.num == 2)