Hmisc
library to extend S graphics by automatically labeling curves, drawing legends, drawing error bars and bands, and plotting aggregate data
Hmisc
(built-in to S; may be obtained from Hmisc for use with R or S-Plus). For R, Hmisc
may easily be downloaded and stalled from CRAN.
Hmisc
package written by the instructor. Usage of S for more advanced statistical methods such as simulation and bootstrapping is surveyed. Then basic sample size and power calculations are discussed, followed by an example using the Hmisc
library to simulate power for the Cox-logrank test for comparing event times in a clinical trial in which drop-in, drop-out, and delayed treatment response are present. Then major emphasis is given to table making and S and Hmisc
graphical functions useful in everyday exploratory work and in presenting final summary statistics. An overview of principles of constructing good graphics will be given. The course will cover how data may be aggregated in a variety of ways including many suitable for use with Trellis graphics, and it will cover how Trellis may be extended to produce more flexible graphics that display confidence bands and error bars, for example, and automatically label curves and produce keys. The course concludes with discussion of some tools for making analyses reproducible, an important facit for regulatory and other scientific review of final results. Advantages of using S in conjunction with the %LATEX% document processing / typesetting system for constructing reproducible statistical reports and hyperlinked PDF documents are discussed. Hmisc
library written by the instructor. During interactive labs students will learn how to use S to manipulate, inspect, analyze, graph raw and summary data, and to report statistical summaries. The S/%LATEX% interface written by Richard Heiberger and Frank Harrell is briefly introduced.
Hmisc
hist.data.frame, histSpike
)
Hmisc ecdf
function, 11.3)
Hmisc datadensity
Hmisc naclus
Hmisc varclus
Hmisc plsmo
summary.formula
)
bwplot, densityplot, dotplot, histogram, splom, density, stripplot, xyplot
functions
Hmisc panel.bpplot
Trellis panel function for extended box plots
Hmisc xYplot
and Dotplot
functions for error bars and bands (11.4.1)
Hmisc summarize
and xYplot
and Dotplot
functions and other Trellis graphics functions (11.4.3)
Hmisc do
function (13.2)
summary.formula's latex
function
Hmisc
and Design Libraries, 2002. sintro.pdf. http://ctan.tug.org/tex-archive/info/lshort/english/lshort.pdf