GitHub

Lifecycle: stable CRAN_Status_Badge R_Universe Last Commit Downloads DOI Docs

Visualizing Hypothesis Tests in Multivariate Linear Models

Version 1.8.3; documentation built for pkgdown 2026-08-11

Description

The heplots package provides functions for visualizing hypothesis tests in multivariate linear models (“MLM” = {MANOVA, multivariate multiple regression, MANCOVA, and repeated measures designs}). It also provides other tools for analysis and graphical display of MLMs.

HE plots represent sums-of-squares-and-products matrices for linear hypotheses (H) and for error (E) using ellipses (in two dimensions), ellipsoids (in three dimensions), or by line segments in one dimension. For the theory and applications, see:

If you use this work in teaching or research, please cite it as given by citation("heplots") or see Citation.

Other topics now addressed here include:

  • robust MLMs, using iteratively re-weighted least squared to down-weight observations with large multivariate residuals, robmlm().
  • Mahalanobis() calculates classical and robust Mahalanobis squared distances using MCD and MVE estimators of center and covariance.
  • visualizing tests for equality of covariance matrices in MLMs (Box’s M test), boxM() and plot.boxM(). Also: bartlettTests() and LeveneTests() for homogeneity of variance for each response in a MLM.

Read the original on github.com ↗