High-Dimensional Repeated Measures
Overview
Methods for testing main and interaction effects in possibly high-dimensional parametric or nonparametric repeated measures in factorial designs. The observations of the subjects are assumed to be multivariate normal if using the parametric test. The nonparametric version tests with regard to nonparametric relative effects (based on pseudo-ranks). It is possible to use up to 2 whole- and 3 subplot factors. See Happ et al. (2017, doi:10.1080/15598608.2017.1307792) for details.
First release after the package was archived on CRAN on 2024-04-20. The
issues that led to the archival are addressed below.
Breaking changes
- The graphical user interface has been removed:
hrm_GUI()and the deprecatedhrm.GUI()are gone. It was built on 'RGtk2', which was orphaned and archived from CRAN on 2021-12-15, and on 'tcltk'. Both dependencies have been dropped. - Multivariate repeated measures have been removed. The
variableargument ofhrm_test()no longer exists, and passing it is an error. The feature shipped without any active test coverage; the code is retained outside the package for future work.
Bug fixes
Show all changes in 1.3.0Hide the rest of the changes in 1.3.0
confint()no longer fails for designs with a whole-plot factor. It previously aborted withmissing value where TRUE/FALSE needed, which affected every such design, parametric and nonparametric alike, including the example given in the README. The cause is an upstream failure ofmvtnorm::qmvnorm()on larger correlation matrices.confint()now tries progressively weaker forms of multiplicity control and reports which one was used inattr(, "status"): 1. family-wise error rate over all factor level combinations, 2. family-wise error rate within each whole-plot group, 3. a Sidak correction within each group, 4. none, in which case the interval columns areNA. Results for designs without a whole-plot factor are unchanged.- Stale
@paramentries were removed from 16 help pages, where documented arguments did not exist in the corresponding functions. plot()on an unsupported design now raises an error instead of printing a message and returning invisibly.
Improvements
confint()is considerably faster. The correlation matrix was built with a double loop performing three matrix products per cell;stats::cov2cor()gives an identical result in a fraction of the time.- Fewer dependencies.
xtable,tcltk,reshape2andRGtk2are no longer used, andMASSmoved toSuggests.MASS,matrixcalc,plyrandggplot2moved fromDependstoImports, so loading HRM no longer attaches them to the search path. Code that relied on this must now attach them itself, for examplelibrary(ggplot2)before passing theme objects toplot(). - R (>= 4.2.0) is now required, which reflects what the dependency tree can actually be installed on.
- Tests no longer assert the exact class vector of 'ggplot2' objects, which changed in 'ggplot2' 4.0.
- Test coverage added for
confint()on whole-plot designs, which was previously untested entirely.
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK6 OK2026-09-12
Documentation
- Help pages
- 48 (43 internal)includes a package overview page
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 50%
- Documented parameters
- 50%
- Return-value docs
- 100%
- Help pages citing references
- 2%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/happma/hrm on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows
Dependencies
Installing HRM adds 49 packages (29 with compiled code, 49 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Maintainer since 0.1 (2015)
Pick two releases to compare their code metrics.
- unarchivedReturned to CRAN2026-09-11
- 1.3.0Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- archivedRemoved from CRAN2024-04-20issues were not corrected despite reminders
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.2.12020-02-06 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.0.22018-10-17 · diff ↗
- 0.9.12018-04-23 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.8.0
Show 11 earlier eventsHide 11 earlier events
- 0.7.42017-10-27 · diff ↗
- 0.7.12017-08-13 · diff ↗
- 0.6.9
- RR 3.4.0 released · 2017-04-21
- 0.5.12017-03-21 · diff ↗
- 0.5.02017-02-28 · diff ↗
- 0.4.3
- 0.3.52016-05-04 · diff ↗ ·
removed 5 exports
hrm.A.weighted, hrm.A.unweighted, hrm.B, hrm.AB, hrm.A_Badded 2 exports
hrm.test.2, hrm.plot - RR 3.3.0 released · 2016-05-03
- 0.12015-09-08
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-09-08
- Total releases
- 13 / 11 yrs
- License
- GPL-2 | GPL-3 OSI
- Minimum R
- ≥ 4.2.0
- Bundled data
- 50 KB / 1 file
- Download size
- 93 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("HRM")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1080/15598608.2017.1307792.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.