Package: heplots 1.8.6

heplots: Visualizing Hypothesis Tests in Multivariate Linear Models

Provides HE plot and other functions for visualizing hypothesis tests in multivariate linear models. HE plots represent sums-of-squares-and-products matrices for linear hypotheses and for error using ellipses (in two dimensions) and ellipsoids (in three dimensions). It also provides other tools for analysis and graphical display of the models such as robust methods and homogeneity of variance covariance matrices. The related 'candisc' package provides visualizations in a reduced-rank canonical discriminant space when there are more than a few response variables.

Authors:Michael Friendly [aut, cre], John Fox [aut], Georges Monette [aut], Phil Chalmers [ctb], Duncan Murdoch [ctb], Gavin Klorfine [ctb]

heplots_1.8.6.tar.gz
heplots_1.8.6.zip(r-4.7-any)heplots_1.8.6.zip(r-4.6-any)heplots_1.8.6.zip(r-4.5-any)
heplots_1.8.6.tgz(r-4.6-any)heplots_1.8.6.tgz(r-4.5-any)
heplots_1.8.6.tar.gz(r-4.7-any)heplots_1.8.6.tar.gz(r-4.6-any)
heplots_1.8.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
heplots/json (API)

# Install 'heplots' in R:
install.packages('heplots', repos = c('https://friendly.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/friendly/heplots/issues

Pkgdown/docs site:https://friendly.github.io

Datasets:
  • AddHealth - Adolescent Mental Health Data
  • Adopted - Adopted Children
  • Bees - Captive and maltreated bees
  • Diabetes - Diabetes Dataset
  • dogfood - Dogfood Preferences
  • FootHead - Head measurements of football players
  • Headache - Treatment of Headache Sufferers for Sensitivity to Noise
  • Hernior - Recovery from Elective Herniorrhaphy
  • Iwasaki_Big_Five - Personality Traits of Cultural Groups
  • LearnDis - Reading and Arithmetic Achievement in Children with Learning Disabilities
  • mathscore - Math scores for basic math and word problems
  • MockJury - Effects Of Physical Attractiveness Upon Mock Jury Decisions
  • NeuroCog - Neurocognitive Measures in Psychiatric Groups
  • NLSY - National Longitudinal Survey of Youth Data
  • oral - Effect of Delay in Oral Practice in Second Language Learning
  • Oslo - Oslo Transect Subset Data
  • Overdose - Overdose of Amitriptyline
  • Parenting - Father Parenting Competence
  • peng - Size measurements for penguins near Palmer Station, Antarctica
  • Plastic - Plastic Film Data
  • Pottery2 - Chemical Analysis of Romano-British Pottery
  • Probe1 - Response Speed in a Probe Experiment
  • Probe2 - Response Speed in a Probe Experiment
  • RatWeight - Weight Gain in Rats Exposed to Thiouracil and Thyroxin
  • ReactTime - Reaction Time Data
  • ReadingDisability - Cognitive and Achievement Test Scores by Reading Level
  • Rohwer - Rohwer Data Set
  • RootStock - Growth of Apple Trees from Different Root Stocks
  • Sake - Taste Ratings of Japanese Rice Wine
  • schooldata - School Data
  • schoolsites - Schooldata Sites
  • Skulls - Egyptian Skulls
  • SocGrades - Grades in a Sociology Course
  • SocialCog - Social Cognitive Measures in Psychiatric Groups
  • TIPI - Data on the Ten Item Personality Inventory
  • VocabGrowth - Vocabulary growth data
  • WeightLoss - Weight Loss Data

On CRAN:

Conda:

linear-hypothesesmatricesmultivariate-linear-modelsplotrepeated-measure-designsvisualizing-hypothesis-tests

12.25 score 12 stars 7 packages 1.4k scripts 7.5k downloads 17 mentions 45 exports 91 dependencies

Last updated from:0b90634660. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK244
source / vignettesOK312
linux-releaseOK268
macos-releaseOK113
macos-oldrelOK104
windows-develOK129
windows-releaseOK83
windows-oldrelOK122
wasm-releaseOK173

Exports:arrow3dbartlettTestsbbox3dboxMcoefplotcolDevscolMeansListcovEllipsescovListcqplotcross3ddf.termsdistancePloteigstatCIeigstatCI_boxMellipse.axesellipse.boxellipse3d.axesEllipsoidetasqglanceglance.mlmgsorthheplotheplot1dheplot3dinterpPlotlabel.ellipseleveneTestslogdetCIMahalanobismark.H0noteworthyplot_boxM_bootpvPlotrel_diffrobmlmstatListstdcoefstdmodeltermMeanstext_usrtraceCItrans.colorsuniStats

Dependencies:abindbackportsbase64encbootbroombslibcachemcarcarDataclicolorspacecowplotcpp11DerivdigestdoBydplyrevaluatefarverfastmapfontawesomeforecastFormulafracdifffsgenericsggplot2gluegtablehighrhtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmemoisemgcvmimeminqamodelrnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrglrlangrmarkdownS7sassscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDatetinytexurcautf8vctrsviridisLitewithrxfunyamlzoo

HE plot MANOVA Examples
Multivariate Analysis of Variance Designs | Adolescent Mental Health Data | Exploratory plots | Fit the MLM | Testing linear hypotheses | HE plot | Plastic film data | Multivariate tests | HE plots | Effects of physical attractiveness on mock jury decisions | Manipulation check | Main analysis | Egyptian skulls from five epochs | References

Last update: 2026-10-02
Started: 2022-09-29

Data sets in the heplots package
Documenting package datasets | Methods | Dataset table | Concept table

Last update: 2026-09-12
Started: 2024-11-15

HE plot MMRA Examples
Multivariate Multiple Regression Designs | Rohwer data: Aptitude and achievement | Preliminary plots | Separate models | MANCOVA model | Testing homogeneity of regression | Recovery from hernia repair | All predictors model | Canonical analysis | Grades in a Sociology Course | Models | Screening for interactions | References

Last update: 2026-09-12
Started: 2022-09-29

Robust Multivariate Linear Models
Introduction | Methodology: Iteratively Reweighted Least Squares (IRLS) | The IRLS Algorithm | Features of the Implementation | Theoretical Properties | Example: Pottery Data | Classical MANOVA | Robust MANOVA | Examining the Robust Weights | Distance Plot | Hypothesis-Error (HE) plots | Classical and Robust Fits | Robust Weights | Multivariate Influence Plots | Interpretation and Discussion | References

Last update: 2026-09-12
Started: 2025-08-06

Readme and manuals

Help Manual

Help pageTopics
Visualizing Hypothesis Tests in Multivariate Linear Modelsheplots-package heplots _PACKAGE
Adolescent Mental Health DataAddHealth
Adopted ChildrenAdopted
Draw a 3D Arrow in an RGL Scenearrow3d
Bartlett Tests of Homogeneity of VariancesbartlettTests bartlettTests.default bartlettTests.formula bartlettTests.lm
Find the bounding box of a 'rgl::mesh3d' or 'rgl::qmesh3d' objectbbox3d
Captive and maltreated beesBees
Box's M-test for Homogeneity of Covariance MatricesboxM boxM.default boxM.formula boxM.lm print.boxM summary.boxM
Coefficient plots for Multivariate Linear Modelscoefplot coefplot.mlm
Calculate column deviations from central valuescolDevs
Draw classical and Robust Covariance Ellipses for one or more groupscovEllipses covEllipses.boxM covEllipses.data.frame covEllipses.default covEllipses.formula covEllipses.matrix
Chi Square Quantile-Quantile plotscqplot cqplot.default cqplot.mlm
Draw a 3D cross in an rgl scenecross3d
Find degrees of freedom for model termsdf.terms df.terms.default
Diabetes DatasetDiabetes
Distance Plot for Multivariate Model DiagnosisdistancePlot distancePlot.default distancePlot.formula distancePlot.mlm
Dogfood Preferencesdogfood
Bootstrap Confidence Intervals for Eigenvalue StatisticseigstatCI eigstatCI_boxM
Draw Axes of a 2D Covariance Ellipseellipse.axes
Draw Conjugate Axes and Parallelogram Surrounding a Covariance Ellipseellipse.box
Draw axes of a 3D ellipsoidellipse3d.axes
Draw an Ellipsoid in an rgl SceneEllipsoid Ellipsoid.data.frame Ellipsoid.default
Measures of Partial Association (eta^2) for Linear Modelsetasq etasq.Anova.mlm etasq.lm etasq.mlm
Head measurements of football playersFootHead
Glance at an mlm objectglance.mlm
Orthogonalize successive columns of a data frame or matrixgsorth
Treatment of Headache Sufferers for Sensitivity to NoiseHeadache
Two-Dimensional HE Plotsheplot heplot.mlm
One-Dimensional HE Plotsheplot1d heplot1d.mlm
Three-Dimensional HE Plotsheplot3d heplot3d.mlm
Recovery from Elective HerniorrhaphyHernior
Plot an Interpolation Between Two Related Data SetsinterpPlot
Personality Traits of Cultural GroupsIwasaki_Big_Five
Label an Ellipse in a Plotlabel.ellipse
Reading and Arithmetic Achievement in Children with Learning DisabilitiesLearnDis
Levene Tests of Homogeneity of VariancesleveneTests leveneTests.default leveneTests.formula leveneTests.lm
Calculate confidence interval for log determinant of covariance matriceslogdetCI
Classical and Robust Mahalanobis DistancesMahalanobis
Mark a point null hypothesis in an HE plotmark.H0
Math scores for basic math and word problemsmathscore
Effects Of Physical Attractiveness Upon Mock Jury DecisionsMockJury
Neurocognitive Measures in Psychiatric GroupsNeuroCog
National Longitudinal Survey of Youth DataNLSY
Find noteworthy (unusual) points in a 2D plotnoteworthy
Effect of Delay in Oral Practice in Second Language Learningoral
Oslo Transect Subset DataOslo
Overdose of AmitriptylineOverdose
Pairwise HE Plotspairs.mlm
Father Parenting CompetenceParenting
Size measurements for penguins near Palmer Station, Antarcticapeng
Plastic Film DataPlastic
Plot for Box's M test with bootstrap CIsplot_boxM_boot
Plot for Box's M test and generalizationsplot.boxM
Plot observation weights from a robust multivariate linear modelsplot.robmlm
Chemical Analysis of Romano-British PotteryPottery2
Response Speed in a Probe ExperimentProbe Probe1 Probe2
Partial Variables PlotpvPlot
Weight Gain in Rats Exposed to Thiouracil and ThyroxinRatWeight
Reaction Time DataReactTime
Cognitive and Achievement Test Scores by Reading LevelReadingDisability
Relative Difference between two Arrays or Data Framesrel_diff
Robust Fitting of Multivariate Linear Modelsprint.robmlm print.summary.robmlm robmlm robmlm.default robmlm.formula robmlm.mlm summary.robmlm
Rohwer Data SetRohwer
Growth of Apple Trees from Different Root StocksRootStock
Taste Ratings of Japanese Rice Wine (Sake)Sake
School Dataschooldata
Schooldata Sitesschoolsites
Egyptian SkullsSkulls
Grades in a Sociology CourseSocGrades
Social Cognitive Measures in Psychiatric GroupsSocialCog
Calculate statistics for levels of factorscolMeansList covList statList
Standardized Regression Coefficientsstdcoef stdcoef.lm stdcoef.mlm
Standardize a Fitted Linear Modelstdmodel stdmodel.lm
Calculate Means for a Term in a Multivariate Linear ModeltermMeans
Add Text to a Plot at Normalized Device Coordinatestext_usr
Data on the Ten Item Personality InventoryTIPI
Calculate Confidence Interval for Trace of Covariance MatricestraceCI
Make Colors Transparenttrans.colors
Univariate Test Statistics for a Multivariate Linear ModeluniStats
Vocabulary growth dataVocabGrowth
Weight Loss DataWeightLoss