Learn R Programming

⚠️There's a newer version (3.1-47) of this package.Take me there.

HH (version 3.0-3)

Statistical Analysis and Data Display: Heiberger and Holland

Description

Support software for Statistical Analysis and Data Display (First Edition, Springer, ISBN 0-387-40270-5) and (Second Edition, Springer, ISBN x-xxx-xxxxx-x). This contemporary presentation of statistical methods features extensive use of graphical displays for exploring data and for displaying the analysis. The second edition includes redesigned graphics and additional chapters. The authors emphasize how to construct and interpret graphs, discuss principles of graphical design, and show how accompanying traditional tabular results are used to confirm the visual impressions derived directly from the graphs. Many of the graphical formats are novel and appear here for the first time in print. All chapters have exercises. All functions introduced in the book are in the package. R code for all examples, both graphs and tables, in the book is included in the scripts directory of the package.

Copy Link

Version

Install

install.packages('HH')

Monthly Downloads

5,991

Version

3.0-3

License

GPL (>= 2)

Maintainer

Richard Heiberger

Last Published

February 16th, 2014

Functions in HH (3.0-3)

npar.arma

Count the number of parameters in an ARIMA model specification.
logit

Logistic function and its inverse.
col.hh

Initializing Trellis Displays
panel.acf

Panel functions for tsdiagplot.
hh

Resolve filenames relative to the HH directory.
plot.mmc.multicomp

MMC (Mean--mean Multiple Comparisons) plot.
print.TwoTrellisColumns

Print two conformable trellis plots in adjacent columns with user control of widths.
panel.interaction2wt

Plot all main effects and twoway interactions in a multifactor design
ci.plot

Plot confidence and prediction intervals for simple linear regression
regr1.plot

plot x and y, with optional straight line fit and display of squared residuals
legendGrob2wt

place separate keys to the left of each row of a trellis
axis.i2wt

specialized axis function for interaction2wt.
ResizeEtc

Display multiple independent trellis objects on the same coordinated scale.
as.likert

Support functions for diverging stacked barcharts for Likert, semantic differential, and rating scale data.
lmatRows

Find the row numbers in the lmat corresponding to the focus factor.
emptyMainLeftAxisLeftStripBottomLegend

Remove main title, left axis tick labels, left strip, bottom legend from plot and keep the vertical spacing allocated to those items.
HH.regsubsets

Display tabular results for Best Subsets Regression.
do.formula.trellis.xysplom

Interprets model formulas for xysplom and extended bwplots
xysplom

scatterplot matrix with potentially different sets of variables on the rows and columns.
as.multicomp

Support functions in R for MMC (mean--mean multiple comparisons) plots.
ae.dotplot

AE (Adverse Events) dotplot of incidence and relative risk
AEdotplot

AE (Adverse Events) dotplot of incidence and relative risk
plot.hov

Homogeneity of Variance Plot
multicomp.reverse

Force all comparisons in a "multicomp" object to have the same sign.
intxplot

Interaction plot, with an option to print standard error bars.
likert

Diverging stacked barcharts for Likert, semantic differential, rating scale data, and population pyramids.
anovaMean

ANOVA table from the group sample sizes, means, and standard deviations.
diag.maybe.null

Returns a value for the diagonal of NA and NULL arguments.
HH-package

Support software for Statistical Analysis and Data Display by Richard M. Heiberger and Burt Holland
extra

Miscellaneous functions that I wish were in or consistent between S-Plus and R.
as.matrix.listOfNamedMatrices

Convert a list of matrices to a single matrix
AEdotplot.data.frame

AE (Adverse Events) dotplot of incidence and relative risk, support functions
ResizeEtc.likertPlot

Display multiple independent trellis objects, representing likert plots, on the same coordinated scale.
ancova

Compute and plot oneway analysis of covariance
grid.yaxis.hh

make x- and y-axis labels
panel.pairs.hh

Function based on S-Plus panel.pairs to add the subpanel.scales and panel.cex arguments.
plot.multicomp

Multiple comparisons plot that gives independent user control over the appearance of the significant and not significant comparisons.
hov

Homogeneity of Variance
dchisq.intermediate

Intermediate f and chisq functions to simplify writing for both R and S-Plus.
norm.curve

plot a normal or a t-curve with both x and z axes.
lm.regsubsets

Evaluate lm model with highest adjusted $R^2$.
ladder

Draw a "ladder of powers" plot, plotting each of several powers of y against the same powers of x.
datasets

Datasets for Statistical Analysis and Data Display, Heiberger and Holland
panel.dotplot.tb

Dotplot with evenly spaced tiebreakers.
X.residuals

Residuals from the regression of each column of a data.frame against all the other columns.
resid.squares

plot squared residuals in inches to match the y-dimension
aovSufficient

Analysis of variance from sufficient statistics for groups.
panel.bwplot.superpose

Panel function for bwplot that displays an entire box in the colors coded by groups.
perspPlane

Helper functions for regr2.plot
seqplot.forecast

seqplot with confidence bands for the forecast region.
mcalinfct

MCA multiple comparisons analysis (pairwise)
multicomp.order

Update a multicomp object by ordering its contrasts.
strip.background0

Turn off the coloring in the trellis strip labels. Color 0 is the background color.
interaction2wt

Plot all main effects and twoway interactions in a multifactor design
lm.case

case statistics for regression analysis
panel.ci.plot

Default Panel Function for ci.plot
objip

loop through all attached directories looking for pattern
positioned-class

Class "positioned", extends "ordered" to specify the position for graphing the levels of a factor.
regr2.plot

3D plot of z against x and y, with regression plane fit and display of squared residuals.
panel.likert

Panel functions for likert that include a stackWidth argument
seqplot

Time series plot.
strip.xysplom

strip function that is able to place the correlation or regression coefficient into the strip label.
if.R

Conditional Execution for R or S-Plus
partial.corr

partial correlations
pyramidLikert

Print a Likert plot as a Population Triangle
F.curve

plot a chisquare or a F-curve.
vif

Calculate the Variance Inflation Factor
defunct

Defunct Functions in Package 'HH'
tsdiagplot

Times series diagnostic plots for a structured set of ARIMA models.
OddsRatio

Calculate or plot the odds ratio for a 2x2 table of counts.
panel.xysplom

panel method for xysplom.
push.vp.hh

push and pop a grid viewport, turn clipping off, change scale.
panel.bwplott

Extension to S-Plus trellis to allow transposed plots.
ancova-class

Class "ancova" Analysis of Covariance
LikertPercentCountColumns

Display likert plots with percents in the first column of panels and counts in the second column of panels.
GSremove

Remove selected GraphSheetPages in the S-Plus Windows GUI Graphsheet
glhtWithMCP.993

Retain averaging behavior that was previously available in glht.
likertColor

Selection of colors for Likert plots.
likertMosaic

Diverging stacked barcharts for Likert, semantic differential, rating scale data, and population pyramids based on mosaic as the plotting style.
export.eps

Exports a graph to an EPS file.
orthog.complete

Construct an orthogonal matrix which is an arbitrary completion of the column space of the input set of columns.
print.tsdiagplot

Print a "tsdiagplot" object.
mmc.mean

MMC (mean--mean multiple comparisons) plots from the sufficient statistics for a one-way design.
t.trellis

Interchange the x- and y-axes for an S-Plus trellis object. Interchange the conditioning variables for an R trellis object.
tsacfplots

Coordinated time series and ACF and PCF plots.
position

Find or assign the implied position for graphing the levels of a factor. A new class "positioned", which inherits from "ordered" and "factor", is defined.
cp.calc

Rearranges and improves the legibility of the output from the stepwise function in S-Plus.
panel.bwplot.intermediate.hh

Panel functions for bwplot.
panel.axis.right

Right-justify right-axis tick labels.
arima.diag.hh

Repair design error in S-Plus arima.diag
residual.plots

Residual plots for a linear model.
summary.arma.loop

summary and print and subscript methods for tsdiagplot and related objects.
gof.calculation

Calculate Box--Ljung Goodness of Fit for ARIMA models in S-Plus.
interaction.positioned

interaction method for positioned factors.
mmc

MMC (mean--mean multiple comparisons) plots.
arma.loop

Loop through a series of ARIMA models and display coordinated tables and diagnoastic graphs.
panel.cartesian

trellis panel function, with labeled rows and columns and without strip labels.
sufficient

Calculates the mean, standard deviation, and number of observations in each group of a data.frame that has one continuous variable and two factors.