# HH v3.1-31

Monthly downloads

## Statistical Analysis and Data Display: Heiberger and Holland

Support software for Statistical Analysis and Data Display (Second Edition, Springer, ISBN 978-1-4939-2121-8, 2015) and (First Edition, Springer, ISBN 0-387-40270-5, 2004) by Richard M. Heiberger and Burt Holland. 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.

## Functions in HH

Name | Description | |

panel.axis.right | Right-justify right-axis tick labels. | |

NTplot | Specify plots to illustrate Normal and t Hypothesis Tests or Confidence Intervals, including normal approximation to the binomial. | |

HH.regsubsets | Display tabular results for Best Subsets Regression. | |

aovSufficient | Analysis of variance from sufficient statistics for groups. | |

GSremove | Remove selected GraphSheetPages in the S-Plus Windows GUI Graphsheet | |

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

X.residuals | Residuals from the regression of each column of a data.frame against all the other columns. | |

panel.bwplot.intermediate.hh | Panel functions for bwplot. | |

hov | Homogeneity of Variance | |

Discrete4 | Discrete with four levels color dataset. | |

orthog.complete | Construct an orthogonal matrix which is an arbitrary completion of the column space of the input set of columns. | |

ResizeEtc.likertPlot | Display multiple independent trellis objects, representing likert plots, on the same coordinated scale. | |

OneWayVarPlot | 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. | |

interaction2wt | Plot all main effects and twoway interactions in a multifactor design | |

grid.yaxis.hh | make x- and y-axis labels | |

if.R | Conditional Execution for R or S-Plus | |

diagplot5new | Transpose of ECDF for centered fitted values and residuals from a linear model. | |

interaction.positioned | interaction method for positioned factors. | |

ancova | Compute and plot oneway analysis of covariance | |

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

mmcAspect | Control aspect ratio in MMC plots to maintain isomeans grid as a square. | |

arma.loop | Loop through a series of ARIMA models and display coordinated tables and diagnoastic graphs. | |

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

NormalAndTPower | Construct a power graph based on the NTplot. | |

axis.i2wt | specialized axis function for interaction2wt. | |

hh | Resolve filenames relative to the HH directory. | |

panel.bwplott | Extension to S-Plus trellis to allow transposed plots. | |

NormalAndTplot | Specify plots to illustrate Normal and t Hypothesis Tests or Confidence Intervals. | |

glhtWithMCP.993 | Retain averaging behavior that was previously available in glht. | |

ancovaplot | Analysis of Covariance Plots | |

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

col.hh | Initializing Trellis Displays | |

HHscriptnames | Find absolute pathname of a script file for the HH book in the HH package. | |

do.formula.trellis.xysplom | Interprets model formulas for xysplom and extended bwplots | |

export.eps | Exports a graph to an EPS file. | |

AEdotplot.data.frame | AE (Adverse Events) dotplot of incidence and relative risk, support functions | |

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

ae.dotplot | AE (Adverse Events) dotplot of incidence and relative risk | |

likertColor | Selection of colors for Likert plots. | |

panel.acf | Panel functions for tsdiagplot. | |

panel.dotplot.tb | Dotplot with evenly spaced tiebreakers. | |

mmcPruneIsomeans | MMC plots in lattice---suppress isomeans grid lines for specified levels of the factor. | |

vif | Calculate the Variance Inflation Factor | |

partial.corr | partial correlations | |

seqplot.forecast | seqplot with confidence bands for the forecast region. | |

col3x2 | col3x2 color dataset | |

datasets | Datasets for Statistical Analysis and Data Display, Heiberger and Holland | |

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. | |

bivariateNormal | Plot the bivariate normal density using wireframe for specified rho. | |

lmatPairwise | lmatPairwise | |

seqplot | Time series plot. | |

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

pdiscunif | Discrete Uniform Distribution | |

mmcisomeans | Functions used by mmcplot. | |

npar.arma | Count the number of parameters in an ARIMA model specification. | |

logit | Logistic and odds functions and their inverses. | |

anovaMean | ANOVA table from the group sample sizes, means, and standard deviations. | |

panel.confintMMC | Confidence interval panel for MMC tiebreaker plots, or confidence interval plot. | |

cplx | Generate a sequence spanning the xlim of a lattice window. | |

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

plot.mmc.multicomp | MMC (Mean--mean Multiple Comparisons) plot. | |

print.tsdiagplot | Print a "tsdiagplot" object. | |

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

residVSfitted | Draw plots of resid ~ y.hat and sqrt(abs(resid)) ~ y.hat | |

hovBF | Homogeneity of Variance: Brown--Forsyth method | |

objip | loop through all attached directories looking for pattern, possibly restricting to specified class or mode. | |

HH-package | Support software for Statistical Analysis and Data Display by Richard M. Heiberger and Burt Holland | |

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

print.NormalAndTplot | Print method for Normal and t plots from NTplot. | |

panel.xysplom | panel method for xysplom. | |

mmc | MMC (Mean--mean Multiple Comparisons) plots. | |

arima.diag.hh | Repair design error in S-Plus arima.diag | |

ResizeEtc | Display multiple independent trellis objects on the same coordinated scale. | |

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

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

hhpdf | R tools for writing HH2: hhpdf, hhdev.off, hhcapture, hhcode, hhpng, hhlatex | |

as.matrix.listOfNamedMatrices | Convert a list of matrices to a single matrix | |

ancova-class | Class "ancova" Analysis of Covariance | |

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

diagQQ | QQ plot of regression residuals. | |

diag.maybe.null | Returns a value for the diagonal of NA and NULL arguments. | |

panel.ci.plot | Default Panel Function for ci.plot | |

regrresidplot | Draw a plot of y vs x from a linear model object, with residuals indicated by lines or squares. | |

panel.isomeans | isomeans grid for MMC plots. | |

OddsRatio | Calculate or plot the odds ratio for a 2x2 table of counts. | |

resid.squares | plot squared residuals in inches to match the y-dimension | |

latticeresids | Subroutine used by residual.plots.lattice | |

print.latticeresids | Print a latticeresids object. | |

legendGrob2wt | place separate keys to the left of each row of a trellis | |

useOuterStripsT2L1 | Three-factor generalization of latticeExtra::useOuterStrips | |

plot.hov | Homogeneity of Variance Plot | |

residual.plots.lattice | 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. | |

print.TwoTrellisColumns | Print two conformable trellis plots in adjacent columns with user control of widths. | |

ci.plot | Plot confidence and prediction intervals for simple linear regression | |

push.vp.hh | push and pop a grid viewport, turn clipping off, change scale. | |

gof.calculation | Calculate Box--Ljung Goodness of Fit for ARIMA models in S-Plus. | |

perspPlane | Helper functions for regr2.plot | |

xysplom | scatterplot matrix with potentially different sets of variables on the rows and columns. | |

defunct | Defunct Functions in Package 'HH' | |

lm.regsubsets | Evaluate lm model with highest adjusted $R^2$. | |

residual.plots | Residual plots for a linear model. | |

F.curve | plot a chisquare or a F-curve. | |

panel.interaction2wt | Plot all main effects and twoway interactions in a multifactor design | |

anova.ancovaplot | ANOVA table for a c("ancovaplot","trellis") object. | |

mmcplot | MMC (Mean-mean Multiple Comparisons) plots in lattice. | |

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

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

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

as.likert | Support functions for diverging stacked barcharts for Likert, semantic differential, and rating scale data. | |

tsacfplots | Coordinated time series and ACF and PCF plots. | |

as.multicomp | Support functions in R for MMC (mean--mean multiple comparisons) plots. | |

multicomp.order | Update a multicomp object by ordering its contrasts. | |

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

as.vector.trellis | Convert a two-dimensional trellis object into a one-dimensional trellis object. Change the order of panels in a trellis object. | |

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

pyramidLikert | Print a Likert plot as a Population Triangle | |

matrix.trellis | Convert a one-dimensional trellis object to a two-dimensional trellis object. This permits combineLimits and useOuterStrips to work. | |

mcalinfct | MCA multiple comparisons analysis (pairwise) | |

panel.likert | Panel functions for likert that include a stackWidth argument | |

regr1.plot | plot x and y, with optional straight line fit and display of squared residuals | |

mmc.mean | MMC (Mean--mean Multiple Comparisons) plots from the sufficient statistics for a one-way 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. | |

lm.case | case statistics for regression analysis | |

cp.calc | Rearranges and improves the legibility of the output from the stepwise function in S-Plus. | |

lmplot | Four types of residual plots for linear models. | |

dchisq.intermediate | Intermediate f and chisq functions to simplify writing for both R and S-Plus. | |

combineLimits.trellisvector | Combine limits on a one-dimensional trellis object. | |

summary.arma.loop | summary and print and subscript methods for tsdiagplot and related objects. | |

normalApproxBinomial | Plots to illustrate Normal Approximation to the Binomial---hypothesis tests or confidence intervals. | |

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. | |

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

interval | Prediction and Confidence Intervals for glm Objects | |

rbind.trellis | Extend matrix reshaping functions to trellis objects. | |

No Results! |

## Last month downloads

## Details

Type | Package |

Date | 2016-04-10 |

License | GPL (>= 2) |

NeedsCompilation | no |

Packaged | 2016-04-10 16:28:38 UTC; rmh |

Repository | CRAN |

Date/Publication | 2016-04-11 00:44:23 |

imports | abind , colorspace , grDevices , Hmisc , leaps , methods , RColorBrewer , reshape2 , Rmpfr (>= 0.6.0) , shiny (>= 0.13.1) , vcd |

depends | base (>= 3.0.2) , graphics , grid , gridExtra (>= 2.0.0) , lattice , latticeExtra , multcomp , R (>= 3.0.2) , stats |

suggests | car , mvtnorm , Rcmdr , RcmdrPlugin , RcmdrPlugin.HH , TeachingDemos |

Contributors | Richard Heiberger |

#### Include our badge in your README

```
[![Rdoc](http://www.rdocumentation.org/badges/version/HH)](http://www.rdocumentation.org/packages/HH)
```