Joint Modelling of Multivariate Longitudinal Data and Time-to-Event Outcomes
Overview
Fits the joint model proposed by Henderson and colleagues (2000) doi:10.1093/biostatistics/1.4.465, but extended to the case of multiple continuous longitudinal measures. The time-to-event data is modelled using a Cox proportional hazards regression model with time-varying covariates. The multiple longitudinal outcomes are modelled using a multivariate version of the Laird and Ware linear mixed model. The association is captured by a multivariate latent Gaussian process. The model is estimated using a Monte Carlo Expectation Maximization algorithm. This project was funded by the Medical Research Council (Grant number MR/M013227/1).
Bug fixes
bootSE()parallel branch condition wasncores >= 1L(alwaysTRUE), making the serial code path with the progress bar unreachable. Corrected toncores > 1L.mjoint()now correctly throttles the number of threads used byRcppArmadilloduring the MCEM algorithm viaarmadillo_throttle_cores()(restored on exit).simData()now usesdrop = FALSEwhen subsetting the random effects matrices in the Gompertz (model = "intslope") survival-time calculation, preventing a latent dimension-dropping error when only a single subject remains in the branch.- Internal initial-value calculation for the survival sub-model (
initsSurv()) no longer relies on a leaked loop variable when indexingtimeVar; it now uses the (outcome-invariant) first time variable explicitly in the balanced-data case.
Minor improvements
plot.ranef.mjoint()now usesgeom_errorbar(orientation = "y")instead of the deprecatedgeom_errorbarh(), eliminating ggplot2 4.0 deprecation warnings.simData()now reports the simulated event rate viamessage()rather thancat(), so output can be suppressed withsuppressMessages().vcov.mjoint()now warns when it falls back to the Moore-Penrose pseudo-inverse, as the approximate standard errors may be unreliable in that case.- Fixed documentation typos: "left hand-hand side" in
mjoint(), "comprised on" in the package description, and "The choice os" indynSurv()anddynLong().
Dependency changes
- Minimum R version raised to 4.1.0.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 32 (2 internal)includes a package overview page
- Examples that run
- 5%1 run in a plain check · 18 never run
- Exported functions with examples
- 78%
- Documented parameters
- 98%
- Return-value docs
- 78%
- Help pages citing references
- 81%
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- 22
- Median days to close, 50 most recently updated closed PRs
- 28
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/graemeleehickey/joinerml on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-06-14 · The repository has a site deploy workflow
pkgdown site last built 2026-06-14
Show all practicesHide 2 practices
Dependencies
Installing joineRML adds 42 packages (23 with compiled code, 32 MB of source tarballs). Heaviest: ggplot2 6.0 MB, lme4 4.1 MB, nloptr 2.1 MB.
Code & Tests
Datasets
People & History
Previously maintained by Pete Philipson (0.4.2) and Graeme L. Hickey (0.1.0 to 0.4.1).
Pick two releases to compare their code metrics.
- 0.4.8Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.4.72025-02-04 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.4.62023-01-20 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.4.52021-01-05 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.4.4
- unarchivedReturned to CRAN2020-02-17
- 0.4.32020-02-17 · diff ↗
- archivedRemoved from CRAN2020-01-10check problems were not corrected in time
- RR 3.6.0 released · 2019-04-26
Show 12 earlier eventsHide 12 earlier events
Package metadata
- First published
- 2016-12-27
- Total releases
- 15 / 10 yrs
- License
- GPL-3 | file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 958 KB / 4 files
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("joineRML")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1186/s12874-018-0502-1.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.