Package: heplots 1.8.3

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]

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

# 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
  • 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
  • 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.11 score 10 stars 7 packages 1.4k scripts 9.0k downloads 17 mentions 40 exports 92 dependencies

Last updated from:604dffb045. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK251
source / vignettesOK304
linux-release-x86_64OK229
macos-release-arm64OK136
macos-oldrel-arm64OK118
windows-develOK157
windows-releaseOK135
windows-oldrelOK134
wasm-releaseOK198

Exports:arrow3dbartlettTestsbbox3dboxMcoefplotcolDevscolMeansListcovEllipsescovListcqplotcross3ddf.termsdistancePloteigstatCIeigstatCI_boxMellipse.axesellipse.boxellipse3d.axesEllipsoidetasqglance.mlmgsorthheplotheplot1dheplot3dinterpPlotlabel.ellipseleveneTestslogdetCIMahalanobismark.H0noteworthyplot_boxM_bootrel_diffrobmlmstatListtermMeanstext_usrtrans.colorsuniStats

Dependencies:abindbackportsbase64encbootbroombslibcachemcarcarDataclicolorspacecowplotcpp11DerivdigestdoBydplyrevaluatefarverfastmapfontawesomeforecastFormulafracdifffsgenericsggplot2gluegtablehighrhtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrglrlangrmarkdownS7sassscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDatetinytexurcautf8vctrsviridisLitewithrxfunyamlzoo

Data sets in the heplots package

Rendered fromdatasets.Rmdusingknitr::rmarkdownon May 08 2026.

Last update: 2025-12-05
Started: 2024-11-15

HE plot MANOVA Examples

Rendered fromHE_manova.Rmdusingknitr::rmarkdownon May 08 2026.

Last update: 2025-05-24
Started: 2022-09-29

HE plot MMRA Examples

Rendered fromHE_mmra.Rmdusingknitr::rmarkdownon May 08 2026.

Last update: 2025-05-24
Started: 2022-09-29

HE Plots for Repeated Measures Designs

Rendered fromrepeated-JSS.pdf.asisusingR.rsp::asison May 08 2026.

Last update: 2024-11-24
Started: 2024-11-23

Robust Multivariate Linear Models

Rendered fromRobust.Rmdusingknitr::rmarkdownon May 08 2026.

Last update: 2025-12-01
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
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
Weight Gain in Rats Exposed to Thiouracil and ThyroxinRatWeight
Reaction Time DataReactTime
Relative Difference between two Arrays or Data Framesrel_diff
Robust Fitting of Multivariate Linear Modelsprint.robmlm print.summary.robmlm robmlm robmlm.default robmlm.formula 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
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
Make Colors Transparenttrans.colors
Univariate Test Statistics for a Multivariate Linear ModeluniStats
Vocabulary growth dataVocabGrowth
Weight Loss DataWeightLoss