README.md

R hreport package: Graphical HTML Reports for Clinical Trials with Interactive Graphics

Statisticians and statistical programmers spend a great deal of time analyzing data and producing reports for clinical trials, both for final trial reports and for interim reports for data monitoring committees. Point and Click interfaces and copy-and-paste are now believed to be bad models for reproducible research. Instead, there are advantages to developing a high-level language for producing common elements of reports related to accrual, exclusions, descriptive statistics, adverse events, time to event, and longitudinal data.

It is well appreciated in the statistical and graphics design communities that graphics are much better than tables for conveying numeric information. There are thus advantages for having statistical reports for clinical trials that are almost completely graphical. For those reviewers of clinical trial reports who insist on seeing tables, and for those who occasionally like to have tables to see "exact" figures for certain data elements, supporting tables and other numeric data can appear as popup tooltips when the mouse is hovering over a graphical element.

hreport marries R, the R Hmisc, ggplot2 and plotly packages, rmarkdown, and html to produce reproducible clinical trial reports with a minimum of coding. It is recommended that you use html notebooks in RStudio so that code can be selectively shown in the report using buttons to view/hide individual chunks or for the entire report. hreport composes all figure captions and makes heavy use of analysis file annotations such as variable labels and units of measurement. Some new graphical elements are introduced such as special dot charts that replace tables, extended box plots, half confidence intervals for differences, new charts for representing patient flow, and pop-up tooltips.

Current Goals

Web Sites



harrelfe/hreport documentation built on July 26, 2021, 9:09 a.m.