landmaRk: Time-to-Event Landmark Analysis using an Array of Longitudinal and Survival Sub-Models

Provides a modular end-to-end framework for dynamic risk prediction based on time-to-event and longitudinal data. This allows flexible specifications for the longitudinal and survival sub-models. The 'landmaRk' package enables reproducible benchmarks of different model choices, including cross-validation to assess out-of-sample predictive performance. Methods are described in Velasco-Pardo, Constantine-Cooke, Lees and Vallejos (2026, manuscript under preparation) 'Landmarking with Latent Class Mixed Models for Dynamic Prediction of Time-to-event Data with Heterogeneous Biomarker Trajectories'.

Version: 0.1.1
Depends: R (≥ 4.1.0), survival
Imports: dplyr, ggplot2, lme4, Matrix, methods, pec, riskRegression, rlang, lcmm (≥ 2.2.2), doParallel, foreach, utils, timeROC, prodlim
Suggests: JMbayes2, knitr, rmarkdown, testthat (≥ 3.0.0), xml2, tidyverse, spelling, joineR, survminer, withr
Published: 2026-05-27
DOI: 10.32614/CRAN.package.landmaRk (may not be active yet)
Author: Victor Velasco-Pardo ORCID iD [aut, cre], Nathan Constantine-Cooke ORCID iD [aut], Catalina Vallejos ORCID iD [aut], Charlie Lees ORCID iD [aut]
Maintainer: Victor Velasco-Pardo <vvelasco at ed.ac.uk>
BugReports: https://github.com/VallejosGroup/landmaRk/issues
License: GPL (≥ 3)
URL: https://vallejosgroup.github.io/landmaRk/, https://github.com/VallejosGroup/landmaRk
NeedsCompilation: no
Language: en-GB
Materials: README, NEWS
CRAN checks: landmaRk results

Documentation:

Reference manual: landmaRk.html , landmaRk.pdf
Vignettes: Cross-validation with the landmaRk package (source, R code)
Introduction to the landmaRk package (source, R code)

Downloads:

Package source: landmaRk_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): landmaRk_0.1.1.tgz, r-oldrel (arm64): landmaRk_0.1.1.tgz, r-release (x86_64): landmaRk_0.1.1.tgz, r-oldrel (x86_64): landmaRk_0.1.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=landmaRk to link to this page.