Skip to content

joineR

1.2.9Package record

Joint Modelling of Repeated Measurements and Time-to-Event Data

0packages dependsuggested by 2
27.7Kdownloads / year
92.8%test coverage
13/13flavors OK

Overview

About
Maintained by Graeme L. HickeyCRAN page ↗GitHub ↗Website ↗Issues ↗Declared funder: Medical Research Council

Analysis of repeated measurements and time-to-event data via random effects joint models. Fits the joint models proposed by Henderson and colleagues doi:10.1093/biostatistics/1.4.465 (single event time) and by Williamson and colleagues (2008) doi:10.1002/sim.3451 (competing risks events time) to a single continuous repeated measure. The time-to-event data is modelled using a (cause-specific) Cox proportional hazards regression model with time-varying covariates. The longitudinal outcome is modelled using a linear mixed effects model. The association is captured by a latent Gaussian process. The model is estimated using an Expectation Maximization algorithm. Some plotting functions and the variogram are also included. This project is funded by the Medical Research Council (Grant numbers G0400615 and MR/M013227/1).

Changes in 1.2.9

Bug fixes

  • emUpdate() and emUpdateCR() now issue a warning() on non-convergence instead of silently calling print(), making it possible for callers to catch non-convergence programmatically.
  • survst() no longer unconditionally forces the first subject's censoring indicator to 1 before passing data to coxph(). A proper stop() is raised if no events are observed. The rs index vector is now computed correctly via findInterval(), clamping subjects who precede the first event time to risk set 1 rather than producing NA.
  • survst() and survstCR() now correctly index loglik[2] (the fitted model log-likelihood) rather than storing the full length-2 vector in $log.like.
  • Bootstrap confidence intervals in jointSE() now use quantile() instead of a manual sorted-index lookup, fixing an off-by-one error for small n.boot values.

Improvements

  • joint() and jointSE() arguments gpt, lgpt, max.it, and tol now have explicit default values in the function signatures, replacing the previous missing() pattern. Defaults are visible in auto-complete and ?joint.
  • jointSE() output now includes a p-value column containing two-sided Wald p-values for all fixed-effect and association parameters. Variance component rows (U_*, Residual) return NA as Wald tests are not appropriate for positive-constrained parameters. Closes #58.
  • jointSE() confidence intervals are now computed for all values of n.boot. Previously, runs with fewer than 100 bootstrap samples silently returned 0 for both CI bounds; now the empirical percentile CIs are always returned and a warning() is issued when n.boot < 100 to alert the user that the intervals may be unreliable.
  • tidy() and glance() methods are now available for joint objects, providing a tidy broom-style interface. tidy() returns a data frame of parameter estimates (one row per term) and optionally accepts a jointSE() result to add standard errors, Wald statistics, p-values, and confidence intervals. glance() returns a single-row summary of model-level statistics including log-likelihood, AIC, BIC, number of observations, number of subjects, convergence status, and EM iteration count. Closes #59.
  • simjoint() no longer prints a progress line via cat() from the internal simdat() function. It now emits a message() at the simjoint() level, which can be suppressed with suppressMessages().
  • survival has been moved from Depends to Imports. Surv is re-exported so existing user code does not require changes.
Show all changes in 1.2.9Hide the rest of the changes in 1.2.9
  • Test coverage improved from 89% to 93%.
  • Code formatted with air.

Housekeeping

  • Added a pkgdown site with Bootstrap 5, full dark mode (light switch), and a structured reference index. A pkgdown.yaml GitHub Actions workflow builds and deploys the site to GitHub Pages on push and release.
  • Added a render-readme.yaml GitHub Actions workflow that automatically re-renders README.md from README.Rmd when README.Rmd is changed.
  • Updated R-CMD-check.yaml and test-coverage.yaml GitHub Actions workflows to use actions/checkout@v6, codecov-action@v7, and upload-artifact@v7.
  • DESCRIPTION URL field now includes the pkgdown site, CRAN page, and GitHub repository.
  • README badges updated: removed defunct AppVeyor and Depsy badges; added pkgdown deployment badge and lifecycle (stable) badge.
  • Updated README with new MRC logo and fixed badges.
  • Fixed deprecated documentation for joineR-package.R.
  • Added reverse dependency checks.
  • Removed dead commented-out code blocks in survst.R and prepSurvData.R.
  • Removed no-op fd <- fd / sd <- sd assignments in emUpdate().
  • The internal helper sortJointData() (previously sort.dat() defined inside joint() on every call) is now a file-level internal function, avoiding a spurious S3 method consistency note in R CMD check.
  • Fixed copy-paste error in @param ylab documentation for jointplot() (was labelled "x-axis").
  • Renamed variable t to obs_time in jointplot() to avoid shadowing base::t().
  • Fixed typo "am Expectation Maximization" → "an" in DESCRIPTION.
  • Updated test suite: removed deprecated context() calls and replaced expect_is() with expect_s3_class() throughout. Fixed typo "seperate" → "separate" in one test name. Enabled testthat edition 3.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 9.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.9
READMEYes · 608 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 1.2.9Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
29 (2 internal)includes a package overview page
Examples that run
100%20 run in a plain check
Exported functions with examples
92%
Documented parameters
99%
Return-value docs
92%
Help pages citing references
34%
Vignettes (2)

Downloads

27.7K
CRAN downloads in the past year
Rank #2,701 · ~76/day · ~2.3K/mo
Daily download trend is not available in this view yet.
1.9K30 days
5.6K90 days
27.7K1 year
Compare downloads with other packages →
Also on135 r2u6 autocran161 c2d4u

Repository

18Stars
10Forks
5Open issues
0Open PRs
7Releases
254Commits
4Commit identities
statisicsstatistical-methodslongitudinal-datasurvival-analysisrbiostatisticsjoinersurvival
License file reads as GPL-3.0 · 254 commits · Last activity 2026-06-28 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
5
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-05-14 · 182026-07-07 · 18
PracticesBeta

12 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/graemeleehickey/joiner on 2026-10-18.

Continuous integration (3)
GitHub ActionsR CMD check workflowAppVeyor

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-06-28 · The repository has a site deploy workflow

pkgdown site last built 2026-06-28

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (2)
cran-comments.mdrevdep/
Show all practicesHide 2 practices
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing joineR adds 2 packages (1 with compiled code, 137 KB of source tarballs). Heaviest: statmod 91 KB, generics 46 KB.

Depends (1)
R >= 3.6
Imports (9)
genericsgraphicslatticeMASSnlmestatmodstatssurvivalutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

Datasets

People & History

People (9)
Author, Maintainer since 1.2.6 (2021) · added in 1.1.0
Author · added in 1.1.0
Author
Contributor · added in 1.2.0
Funder · added in 1.2.3
Grant numbers: G0400615 and MR/M013227/1

Previously maintained by Pete Philipson (1.2.4 to 1.2.5) and Graeme L. Hickey (1.1.0 to 1.2.3).

Listed in earlier versions (1)
no longer listed · 1.0-1 to 1.0-3
Releases (14)

Pick two releases to compare their code metrics.

  • 1.2.9Latest
    record
    2026-06-28 · current release · diff ↗ ·
    added 3 exports
    Surv, glance, tidy
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.8
    record
    2023-01-22 · diff ↗
  • unarchivedReturned to CRAN
    2023-01-18
  • 1.2.7
    record
    2023-01-18 · diff ↗
  • archivedRemoved from CRAN
    2023-01-17
    issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.6
    record
    2021-06-01 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2.5
    record
    2020-02-08 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.2.4
    record
    2018-05-18 · diff ↗
Show 16 earlier eventsHide 16 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • 1.2.3
    record
    2018-02-06 · diff ↗
  • 1.2.2
    record
    2017-09-14 · diff ↗
  • 1.2.1
    record
    2017-07-24 · diff ↗
  • 1.2.0
    record
    2017-05-19 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1.0
    record
    2017-02-02 · diff ↗ ·
    removed 1 export
    pattern:.
    added 11 exports
    UniqueVariables, joint, jointSE, jointdata, jointplot, sample.jointdata, simjoint, summarybal, to.balanced, to.unbalanced, variogram
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 1.0-3
    record
    2012-10-26 · diff ↗
  • 1.0-2
    record
    2012-06-05 · diff ↗
  • 1.0-1
    record
    2012-03-30
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31

Package metadata

First published
2012-03-30
Total releases
14 / 14 yrs
License
GPL-3 | file LICENSE OSI · relicensed from Unlimited in 1.1.0
Minimum R
≥ 3.6
Bundled data
69 KB / 5 files
Download size
1.0 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("joineR")

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

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 joineR version 1.2.9 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, 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