Skip to content

Landmarking

1.0.2Package record

Analysis using Landmark Models

0packages depend
3.8Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

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

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

none known

Documentation

In release 1.0.2
READMEYes · 199 wordsVignettesYes · 2 · dynamicNEWSYes · 67% structured · mentions 1.0.2Citation fileNo
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

3.8K
CRAN downloads in the past year
Rank #8,781 · ~11/day · ~319/mo
Daily download trend is not available in this view yet.
40330 days
1.1K90 days
3.8K1 year
Compare downloads with other packages →
Also on76 r2u1 autocran

Repository

9Stars
5Forks
2Open issues
0Open PRs
0Releases
423Commits
4Commit identities
423 commits · Last activity 2026-05-16 · 0% stars, 30d
Responsiveness
How these are sampled
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

2024-11-20 · 62026-07-07 · 9
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-05-16

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing Landmarking adds 96 packages (49 with compiled code, 87 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, ggplot2 6.0 MB.

Depends (1)
R >= 3.5.0
Imports (10)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (5)
Author, Maintainer since 1.0.0 (2022)
Contributor
Contributor
Contributor
Releases (2)

Pick two releases to compare their code metrics.

  • 1.0.2Latest
    record
    2026-05-16 · current release · diff ↗ ·
    added 2 exports
    find_LME_risk_set, find_LOCF_risk_set
  • 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
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    record
    2022-02-15
  • R
    R 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")
Barrott, I., Barrett, J., Keogh, R., Stevens, D., & Sweeting, M. (2026). Landmarking: Analysis using Landmark Models (Version 1.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for Landmarking version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

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