Suggestion: re-add msmtools (companion to msm) under Multistate Models

Open Beginner friendly
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
r
Domain
documentation

Research direction

Start by locating the Survival task view's Multistate Models section and the existing entry for msm. Verify the CRAN and repository details for msmtools, then add it alongside msm; the work is done when the maintained package is listed in that section with accurate links and description.

Written by the indexing model from the issue text.

Description

Package

msmtools: Building Augmented Data to Run Multi-State Models with 'msm'

What it does

msmtools works in tandem with msm, which the view lists in the
Multistate Models section. Its core function augment() restructures
classical longitudinal observational data (repeated observations per
subject with start and end times, plus an optional terminal outcome) into
the augmented transition format that msm requires, a step that is
otherwise error-prone to hand-roll on large cohorts; the implementation is
built on data.table and scales to administrative-database sizes. The
package also provides post-fit graphical diagnostics for msm models,
comparing model-based survival against the Kaplan-Meier estimate and
observed against expected prevalences. The methodology is described in
Grossetti, Ieva and Paganoni (2018) doi:10.1007/s10729-017-9400-z, and
the package ships a worked vignette.

Scope and history

msmtools was previously listed in this task view. It was removed when the
package was archived from CRAN, and it has since returned: version 2.2.1
is on CRAN (published 2026-06-08) and the package is actively maintained.
I am the package author and maintainer, filing this re-listing request
following the re-upload.

Suggested placement: the Multistate Models section, alongside msm,
as its data-preparation and diagnostics companion.

Dominant language
No language data
Stars
18
Forks
7
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cran-task-views/Survival

All issues in cran-task-views/Survival

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.