The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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

A fast and general method for restructuring classical longitudinal observational data into augmented transition data suitable for multi-state modeling with the 'msm' package. Works with any longitudinal data where subjects accumulate repeated observations with start and end times and an optional terminal outcome. Methods are described in Grossetti, Ieva and Paganoni (2018) <doi:10.1007/s10729-017-9400-z>.

Version: 2.2.1
Depends: R (≥ 4.1)
Imports: data.table (≥ 1.18.4), cli (≥ 3.6.0), msm (≥ 1.8.2), survival (≥ 3.8-6), ggplot2 (≥ 4.0.3)
Suggests: testthat (≥ 3.3.2), knitr (≥ 1.51), rmarkdown (≥ 2.31), roxygen2 (≥ 8.0.0), patchwork (≥ 1.3.2)
Published: 2026-06-08
DOI: 10.32614/CRAN.package.msmtools
Author: Francesco Grossetti ORCID iD [aut, cre]
Maintainer: Francesco Grossetti <francesco.grossetti at unibocconi.it>
BugReports: https://github.com/contefranz/msmtools/issues
License: GPL-3
URL: https://github.com/contefranz/msmtools
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: msmtools results

Documentation:

Reference manual: msmtools.html , msmtools.pdf
Vignettes: Building augmented data for multi-state models (source)

Downloads:

Package source: msmtools_2.2.1.tar.gz
Windows binaries: r-devel: not available, r-release: msmtools_2.2.1.zip, r-oldrel: not available
macOS binaries: r-release (arm64): msmtools_2.2.1.tgz, r-oldrel (arm64): msmtools_2.2.1.tgz, r-release (x86_64): msmtools_2.2.1.tgz, r-oldrel (x86_64): msmtools_2.2.1.tgz
Old sources: msmtools archive

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.