Support software for
Statistical Analysis and Data Display
by
Richard M. Heiberger and Burt Holland
Repair design error in S-Plus arima.diag
Support functions in R for MMC (mean--mean multiple comparisons) plots.
Rearranges and improves the legibility of the output from
the stepwise function in S-Plus.
Display multiple independent trellis objects, representing
likert plots, on the same coordinated scale.
R tools for writing HH2: hhpdf, hhdev.off, hhcapture, hhcode
Intermediate f and chisq functions to simplify writing
for both R and S-Plus.
ANOVA table from the group sample sizes, means, and standard deviations.
ANOVA table for a c("ancovaplot","trellis") object.
Discrete Uniform Distribution
Update a multicomp object by ordering its contrasts.
AE (Adverse Events) dotplot of incidence and relative risk,
support functions
Find absolute pathname of a script file for the HH book in the HH
package.
emptyMainLeftAxisLeftStripBottomLegend
Remove main title, left axis tick labels, left strip, bottom legend
from plot and keep the vertical spacing allocated to those items.
Datasets for Statistical Analysis and Data Display, Heiberger and
Holland
AE (Adverse Events) dotplot of incidence and relative risk
plot a chisquare or a F-curve.
make x- and y-axis labels
interaction method for positioned factors.
Display tabular results for Best Subsets Regression.
Exports a graph to an EPS file.
Resolve filenames relative to the HH directory.
AE (Adverse Events) dotplot of incidence and relative risk
Convert a two-dimensional trellis object into a one-dimensional trellis object.
Homogeneity of Variance
Class "ancova" Analysis of Covariance
QQ plot of regression residuals.
Returns a value for the diagonal of NA and NULL arguments.
Display multiple independent trellis objects on the same
coordinated scale.
Retain averaging behavior that was previously available in glht.
Draw a "ladder of powers" plot, plotting each of several powers
of y against the same powers of x.
Displays a three-panel bwplot
of the data by group, of the group
means, and of the entire dataset. This is an approximate visualization
of the Mean Square lines from the ANOVA table for a one-way ANOVA model.
LikertPercentCountColumns
Display likert plots with percents in the first column of panels
and counts in the second column of panels.
Remove selected GraphSheetPages in the S-Plus Windows GUI Graphsheet
Plot all main effects and twoway interactions in a multifactor design
Interaction plot, with an option to print standard error bars.
Homogeneity of Variance: Brown--Forsyth method
as.matrix.listOfNamedMatrices
Convert a list of matrices to a single matrix
push and pop a grid viewport, turn clipping off, change scale.
Analysis of Covariance Plots
Draw plots of resid ~ y.hat and sqrt(abs(resid)) ~ y.hat
combineLimits.trellisvector
Combine limits on a one-dimensional trellis object.
Defunct Functions in Package 'HH'
Residuals from the regression of each column of a
data.frame against all the other columns.
partial correlations
Prediction and Confidence Intervals for glm Objects
Subroutine used by residual.plots.lattice
Support functions for diverging stacked barcharts for Likert, semantic
differential, and rating scale data.
Construct an orthogonal matrix which is an arbitrary completion
of the column space of the input set of columns.
Print a "tsdiagplot" object.
Panel functions for tsdiagplot.
Plot confidence and prediction intervals for simple linear regression
Panel functions for likert that include a stackWidth argument
Loop through a series of ARIMA models and display coordinated
tables and diagnoastic graphs.
Initializing Trellis Displays
specialized axis function for interaction2wt.
plot squared residuals in inches to match the y-dimension
Generate a sequence spanning the xlim of a lattice window.
Diverging stacked barcharts for Likert, semantic
differential, rating scale data, and population pyramids.
Functions used by mmcplot.
MCA multiple comparisons analysis (pairwise)
Plot the bivariate normal density using wireframe for specified rho.
Confidence interval panel for MMC tiebreaker plots, or confidence
interval plot.
Helper functions for regr2.plot
Print a latticeresids
object.
Four types of residual plots for linear models.
loop through all attached directories looking for pattern
Diverging stacked barcharts for Likert, semantic
differential, rating scale data, and population pyramids
based on mosaic as the plotting style.
trellis panel function, with labeled rows and columns and without
strip labels.
Residual plots for a linear model.
Transpose of ECDF for centered fitted values and residuals from a linear model.
Selection of colors for Likert plots.
Count the number of parameters in an ARIMA model specification.
place separate keys to the left of each row of a trellis
case statistics for regression analysis
MMC (Mean-mean Multiple Comparisons) plots in lattice.
Calculate Box--Ljung Goodness of Fit for ARIMA models in S-Plus.
Times series diagnostic plots for a structured set of
ARIMA models.
Time series plot.
Plot all main effects and twoway interactions in a multifactor design
Interchange the x- and y-axes for an S-Plus trellis object.
Interchange the conditioning variables for an R trellis object.
MMC (Mean--mean Multiple Comparisons) plots.
plot x and y,
with optional straight line fit and display of squared residuals
Conditional Execution for R or S-Plus
Find the row numbers in the lmat
corresponding to the focus factor.
3D plot of z against x and y,
with regression plane fit and display of squared residuals.
Analysis of variance from sufficient statistics for groups.
Dotplot with evenly spaced tiebreakers.
Evaluate lm model with highest adjusted $R^2$.
Compute and plot oneway analysis of covariance
Force all comparisons in a "multicomp" object to have the same sign.
Miscellaneous functions that I wish were in or consistent between
S-Plus and R.
Calculate the Variance Inflation Factor
do.formula.trellis.xysplom
Interprets model formulas for xysplom and extended bwplots
panel.bwplot.intermediate.hh
Panel functions for bwplot.
summary and print and subscript methods for tsdiagplot and related objects.
Specify plots to illustrate Normal and t Hypothesis Tests or Confidence Intervals.
Convert a one-dimensional trellis object to a two-dimensional trellis object.
This permits combineLimits and useOuterStrips to work.
Class "positioned", extends "ordered" to specify the position
for graphing the levels of a factor.
MMC (Mean--mean Multiple Comparisons) plots from the sufficient
statistics for a one-way design.
MMC plots in lattice---suppress isomeans grid lines for specified levels
of the factor.
Calculate or plot the odds ratio for a 2x2 table of counts.
Logistic and odds functions and their inverses.
plot a normal or a t-curve with both x and z axes.
Panel function for bwplot that displays an entire box in the colors coded
by groups.
strip function that is able to place the correlation or regression
coefficient into the strip label.
Construct a power graph based on the NormalAndT plot.
Control aspect ratio in MMC plots to maintain isomeans grid as a square.
Right-justify right-axis tick labels.
Homogeneity of Variance Plot
scatterplot matrix with potentially different sets of variables
on the rows and columns.
Draw a plot of y vs x from a linear model object, with residuals
indicated by lines or squares.
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.
panel method for xysplom.
Construct four sets of regression plots: Y against X, residuals
against X, partial residuals against X, partial residuals against each
X adjusted for all the other X columns.
MMC (Mean--mean Multiple Comparisons) plot.
Multiple comparisons plot that gives independent user control
over the appearance of the significant and not significant comparisons.
Print two conformable trellis plots in adjacent columns with user
control of widths.
Three-factor generalization of latticeExtra::useOuterStrips
Print a Likert plot as a Population Triangle
Function based on S-Plus panel.pairs to add the subpanel.scales
and panel.cex arguments.
Extension to S-Plus trellis to allow transposed plots.
isomeans grid for MMC plots.
Extend matrix reshaping functions to trellis objects.
Coordinated time series and ACF and PCF plots.
Calculates the mean, standard deviation, and number of
observations in each group of a data.frame that has one continuous
variable and two factors.
Turn off the coloring in the trellis strip labels. Color 0 is the
background color.
Default Panel Function for ci.plot
seqplot with confidence bands for the forecast region.