Learn R Programming

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

HH (version 2.1-3)

Statistical Analysis and Data Display: Heiberger and Holland

Description

Support software for Statistical Analysis and Data Display (Springer, ISBN 0-387-40270-5). This contemporary presentation of statistical methods features extensive use of graphical displays for exploring data and for displaying the analysis. The authors demonstrate how to analyze data---showing code, graphics, and accompanying computer listings---for all the methods they cover. They 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.

Copy Link

Version

Install

install.packages('HH')

Monthly Downloads

7,420

Version

2.1-3

License

GPL version 2 or newer

Maintainer

Richard Heiberger

Last Published

January 27th, 2022

Functions in HH (2.1-3)

residual.plots

Residual plots for a linear model.
panel.cartesian

trellis panel function, with labeled rows and columns and without strip labels.
do.formula.trellis.xysplom

Interprets model formulas for xysplom and extended bwplots
norm.curve

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

Remove selected GraphSheetPages in the S-Plus Windows GUI Graphsheet
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.
arma.loop

Loop through a series of ARIMA models and display coordinated tables and diagnoastic graphs.
ae.dotplot

AE (Adverse Events) dotplot of incidence and relative risk
HH-package

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

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

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

Interaction plot, with an option to print standard error bars.
arima.diag.hh

Repair design error in S-Plus arima.diag
panel.ci.plot

Default Panel Function for ci.plot
grid.yaxis.hh

make x- and y-axis labels
strip.background0

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

Time series plot.
interaction2wt

Plot all main effects and twoway interactions in a multifactor design
panel.dotplot.tb

Dotplot with evenly spaced tiebreakers.
odds.ratio

Calculate or plot the odds ratio for a 2x2 table of counts.
bwplot.formula

Replacement for bwplot.formula and compute.packet in R to allow them to work with the new "positioned" class.
aov.sufficient

Analysis of variance from sufficient statistics for groups.
glht.mcp.993

Retain averaging behavior that was previously available in glht.
ancova

Compute and plot oneway analysis of covariance
HH_regsubsets

Display tabular results for Best Subsets Regression.
X.residuals

Residuals from the regression of each column of a data.frame against all the other columns.
plot.hov

Homogeneity of Variance Plot
hh

Resolve filenames relative to the HH directory.
print.tsdiagplot

Print a "tsdiagplot" object.
panel.pairs.hh

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

Calculate Box--Ljung Goodness of Fit for ARIMA models in S-Plus.
orthog.complete

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

panel method for xysplom.
anova.mean

ANOVA table from the group sample sizes, means, and standard deviations.
panel.bwplot.intermediate.hh

Panel functions for bwplot.
hov

Homogeneity of Variance
ci.plot

Plot confidence and prediction intervals for simple linear regression
summary.arma.loop

summary and print and subscript methods for tsdiagplot and related objects.
panel.interaction2wt

Plot all main effects and twoway interactions in a multifactor design
lmatRows

Find the row numbers in the lmat corresponding to the focus factor.
multicomp.reverse

Force all comparisons in a "multicomp" object to have the same sign.
ancova-class

Class "ancova" Analysis of Covariance
diag.maybe.null

Returns a value for the diagonal of NA and NULL arguments.
positioned-class

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

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

Update a multicomp object by ordering its contrasts.
panel.acf

Panel functions for tsdiagplot.
tsacfplots

Coordinated time series and ACF and PCF plots.
regr1.plot

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

scatterplot matrix with potentially different sets of variables on the rows and columns.
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.
seqplot.forecast

seqplot with confidence bands for the forecast region.
dchisq.intermediate

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

Calculate the Variance Inflation Factor
interaction.positioned

interaction method for positioned factors.
logit

Logistic function and its inverse.
as.multicomp

Support functions in R for MMC (mean--mean multiple comparisons) plots.
t.trellis

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

MCA multiple comparisons analysis (pairwise)
mmc.mean

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

MMC (mean--mean multiple comparisons) plots.
lm.case

case statistics for regression analysis
export.eps

Exports a graph to an EPS file.
strip.xysplom

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

place separate keys to the left of each row of a trellis
push.vp.hh

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

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

partial correlations
cp.calc

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

Extension to S-Plus trellis to allow transposed plots.
col.hh

Initializing Trellis Displays
plot.mmc.multicomp

MMC (Mean--mean Multiple Comparisons) plot.
if.R

Conditional Execution for R or S-Plus
npar.arma

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

loop through all attached directories looking for pattern
regr2.plot

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

specialized axis function for interaction2wt.
F.curve

plot a chisquare or a F-curve.
resid.squares

plot squared residuals in inches to match the y-dimension
lm.regsubsets

Evaluate lm model with highest adjusted $R^2$.
persp.plane

Helper functions for regr2.plot