Skip to content

heplots

1.8.6

Visualizing Hypothesis Tests in Multivariate Linear Models

5packages dependsuggested by 4
96.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.8.6

Enhancements

  • Added a two-page cheatsheet, heplots-cheatsheet.pdf, linked from the README and the pkgdown navbar, to provide a visual overview of the package.
  • Added a robmlm.mlm() method so robmlm() can be called directly on an existing classical mlm fit (e.g., robmlm(mod)) instead of restating the formula and data. The result records its call as robmlm(formula = , data = , ...), just as if it had been fit from the formula, so update() works on it. Arguments that would change the model frame (subset, weights, data, ...) now signal an error rather than being silently ignored; set them in the lm() call, or use update() on the result. Other arguments must be named (e.g., robmlm(mod, P = 0.01)), since an unnamed one would be taken as P.
  • Doc fix: Clarified the **significance interpretation** of HE plots in heplot(), heplot3d(), the README and the HE_manova vignette: **H** protrudes outside **E** somewhere in the *full* response space iff the term is significant by Roy's test, but in a 2D (or 3D) view the rule works one way only. **H** outside **E** means significant; **H** inside **E** does not mean "not significant". The alpha argument of heplot1d() is now correctly described as referring to the univariate F test for the response shown.
Show all changes in 1.8.6Hide the rest of the changes in 1.8.6

Bug fixes

  • Fixed termMeans(): when the data were not sorted in factor-level order, the row labels were attached to the wrong means (e.g., peng species, or the Plastic rate:additive cells in the HE_manova vignette). This also affected the mean labels in heplot1d(). Rows are now in **factor-level order** (first factor varying fastest), and empty cells are dropped instead of causing an error.
  • Fixed eigstatCI(): the "pooled" statistic was computed from the total covariance matrix cov(Y), ignoring groups, so it included the between-group variation. It now uses the pooled within-group covariance matrix, as in boxM()$pooled, and bootstraps it by resampling within groups. This changes the "pooled" point and CI in plot_boxM_boot(). This achieves a long-standing goal to make the plot methods related to boxM() more general, using bootstrap methods instead of asymptotic theory.
  • Fixed label.ellipse(): the diagonal positions label.pos = "SE" and "NW" were swapped. The documentation for a fractional label.pos now says correctly that it is measured counterclockwise from East (0 = right, 0.25 = top).
  • Fixed covEllipses(): label.pos = NULL, documented as giving automatic label positions, failed with "cannot replicate NULL". It now works. The documentation also wrongly said NULL was the default; the default is 0 (the ellipse center), and is unchanged.
  • Fixed pvPlot() for tibbles (e.g., peng): it failed with "invalid type (list)", because selecting one column of a tibble does not give a vector. X is now converted with as.data.frame().

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-20
  • ERROR12 OK, 1 ERROR2026-08-18
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-02
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.8.6
README· In the repository, left out of the releaseVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 1.8.6Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JSS article
Help pages
83 (2 internal)includes a package overview page
Examples that run
96%74 run in a plain check · 2 never run · 1 hold no code
Exported functions with examples
90%
Documented parameters
87%
Return-value docs
90%
Help pages citing references
46%

Also includes 4 demo scripts (run with demo())

Downloads

96.3K
CRAN downloads in the past year
Rank #1,394 · ~264/day · ~8K/mo
Daily download trend is not available in this view yet.
7.5K30 days
19.5K90 days
96.3K1 year
Compare downloads with other packages →
Also on461 r2u4 autocran3.1K conda_forge155 c2d4u

Repository

14Stars
5Forks
2Open issues
1Open PRs
15Releases
894Commits
7Commit identities
multivariate-linear-modelsmatricesrepeated-measure-designsplotlinear-hypothesesvisualizing-hypothesis-tests
894 commits · Last activity 2026-10-04 · +27.3% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
100
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-07-14 · 112026-10-10 · 14
PracticesBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/friendly/heplots on 2026-10-11.

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-04

pkgdown site last built 2026-10-02, before release 1.8.6 (2026-10-04)

Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Research and citation (1)
CITATION.cff
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-12-02
    Seen in the repository: .claude, CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude
    Commits: at least 40 crediting it in the message
  • Codexfirst seen 2026-08-23
    Commits: at least 2 crediting it in the message
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
Models named in its commits
  • Claude Sonnet 536 commits · Jul to Sep 2026
  • Claude Opus 5.54 commits · Sep to Oct 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
40 external dependencies (excludes base and recommended)

Installing heplots adds 83 packages (45 with compiled code, 76 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

Depends (1)
R >= 4.1.0
Imports (12)
cargenericsMASSgraphicsgrDevicesstatsmagrittrpurrrrgltibblebootglue
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
5direct
2indirect
Depends 2 · Imports 3
Suggested by 4
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (6)
Author, Maintainer since 0.8-5 (2009)
Author
Contributor · added in 1.3-7
Contributor · added in 1.8.6
Contributor · added in 1.6.0

Previously maintained by John Fox (0.8-0 to 0.8-4).

Releases (49)

Pick two releases to compare their code metrics.

  • 1.8.6Latest
    record
    2026-10-04 · current release · diff ↗
  • 1.8.5
    record
    2026-09-13 · diff ↗ ·
    added 4 exports
    glance, stdcoef, stdmodel, traceCI
  • 1.8.4
    record
    2026-08-23 · diff ↗ ·
    added 4 exports
    eigstatCI, eigstatCI_boxM, plot_boxM_boot, pvPlot
  • R
    R 4.6.0 released · 2026-04-24
  • 1.8.1
    record
    2025-12-07 · diff ↗ ·
    added 1 export
    text_usr
  • 1.7.8
    record
    2025-08-19 · diff ↗ ·
    added 2 exports
    distancePlot, rel_diff
  • 1.7.5
    record
    2025-05-24 · diff ↗
  • 1.7.4
    record
    2025-04-16 · diff ↗ ·
    added 1 export
    noteworthy
  • R
    R 4.5.0 released · 2025-04-11
  • 1.7.3
    record
    2024-12-22 · diff ↗ ·
    added 1 export
    uniStats
  • 1.7.1
    record
    2024-11-24 · diff ↗
  • 1.7.0
    record
    2024-05-02 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.6.2
    record
    2024-02-15 · diff ↗ ·
    added 3 exports
    df.terms, ellipse.axes, ellipse.box
  • 1.6.0
    record
    2023-09-05 · diff ↗ ·
    added 2 exports
    Ellipsoid, bbox3d
  • R
    R 4.3.0 released · 2023-04-21
Show 59 earlier eventsHide 59 earlier events
  • 1.4-2
    record
    2022-10-20 · diff ↗
  • 1.4-1
    record
    2022-10-02 · diff ↗ ·
    added 1 export
    glance.mlm
  • R
    R 4.2.0 released · 2022-04-22
  • 1.3-9
    record
    2021-10-06 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.3-8
    record
    2021-01-21 · diff ↗
  • 1.3-7
    record
    2020-10-28 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3-5
    record
    2018-04-03 · diff ↗
  • 1.3-4
    record
    2017-09-15 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.3-3
    record
    2016-10-21 · diff ↗
  • 1.3-1
    record
    2016-06-14 · diff ↗
  • 1.3-0
    record
    2016-06-04 · diff ↗
  • 1.2-0
    record
    2016-05-19 · diff ↗ ·
    added 4 exports
    bartlettTests, leveneTests, Mahalanobis, cqplot
  • R
    R 3.3.0 released · 2016-05-03
  • 1.1-0
    record
    2016-03-26 · diff ↗ ·
    added 4 exports
    boxM, covEllipses, colDevs, logdetCI
  • 1.0-16
    record
    2015-07-13 · diff ↗
  • 1.0-15
    record
    2015-04-18 · diff ↗ ·
    removed 2 exports
    robmlm.default, robmlm.formula
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0-12
    record
    2014-07-02 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.0-11
    record
    2013-08-21 · diff ↗
  • 1.0-8
    record
    2013-04-11 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.0-7
    record
    2013-02-08 · diff ↗ ·
    added 2 exports
    label.ellipse, coefplot
  • 1.0-5
    record
    2013-01-13 · diff ↗ ·
    added 1 export
    interpPlot
  • 1.0-2
    record
    2012-12-17 · diff ↗ ·
    added 3 exports
    robmlm, robmlm.default, robmlm.formula
  • 1.0-0
    record
    2012-08-08 · diff ↗
  • 0.9-12
    record
    2012-05-17 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 0.9-11
    record
    2012-02-12 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 0.9-10
    record
    2011-10-17 · diff ↗
  • 0.9-8
    record
    2011-05-21 · diff ↗ ·
    added 1 export
    trans.colors
  • R
    R 2.13.0 released · 2011-04-13
  • 0.9-6
    record
    2010-11-02 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • 0.9-5
    record
    2010-10-05 · diff ↗
  • 0.9-4
    record
    2010-09-29 · diff ↗ ·
    added 1 export
    termMeans
  • 0.9-3
    record
    2010-07-29 · diff ↗ ·
    added 7 exports
    cross3d, statList, covList, colMeansList, arrow3d, etasq, gsorth
  • R
    R 2.11.0 released · 2010-04-22
  • 0.8-11
    record
    2009-12-23 · diff ↗ ·
    added 1 export
    mark.H0
  • R
    R 2.10.0 released · 2009-10-26
  • 0.8-10
    record
    2009-10-13 · diff ↗
  • 0.8-9
    record
    2009-07-23 · diff ↗ ·
    added 2 exports
    heplot1d, ellipse3d.axes
  • 0.8-6
    record
    2009-04-19 · diff ↗
  • R
    R 2.9.0 released · 2009-04-17
  • 0.8-5
    record
    2009-04-03 · diff ↗
  • 0.8-4
    record
    2008-11-19 · diff ↗
  • 0.8-1
    record
    2008-11-03 · diff ↗
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • 0.8-0
    record
    2007-02-01
  • R
    R 2.4.0 released · 2006-10-03

Package metadata

First published
2007-02-01
Total releases
49 / 19 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
110 KB / 37 files
Download size
4.0 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("heplots")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

The repository also keeps a CITATION.cff.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for heplots version 1.8.6 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy