Analysis using Landmark Models
Overview
The landmark approach allows survival predictions to be updated dynamically as new measurements from an individual are recorded. The idea is to set predefined time points, known as "landmark times", and form a model at each landmark time using only the individuals in the risk set. This package allows the longitudinal data to be modelled either using the last observation carried forward or linear mixed effects modelling. There is also the option to model competing risks, either through cause-specific Cox regression or Fine-Gray regression. To find out more about the methods in this package, please see https://isobelbarrott.github.io/Landmarking/articles/Landmarking.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 14
- Examples that run
- 71%5 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 45%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 94
- Median days to close, 50 most recently updated closed PRs
- 156
Stars over time
Forks over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/isobelbarrott/landmarking on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-05-16
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.0.2Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.0.02022-02-15
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-02-15
- Total releases
- 2 / 4 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 258 KB / 1 file
- Download size
- 753 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("Landmarking")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.