Suggestion: re-add msmtools (companion to msm) under Multistate Models
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'
- CRAN: https://cran.r-project.org/package=msmtools
- Repository: https://github.com/contefranz/msmtools
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cran-task-views/Survival
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cran-task-views/Survival#73 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cran-task-views/Survival#72 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cran-task-views/Survival#69 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cran-task-views/Survival#68 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cran-task-views/Survival#67 ·
All issues in cran-task-views/Survival
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) Opencategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
Difficulty 1/5 Under an hour Newbie friendliness 84/100