mstate: Data Preparation, Estimation and Prediction in Multi-State Models

Contains functions for data preparation, descriptives, hazard estimation and prediction with Aalen-Johansen or simulation in competing risks and multi-state models.

Install the latest version of this package by entering the following in R:
AuthorHein Putter, Liesbeth de Wreede, Marta Fiocco, with contributions by Ronald Geskus
Date of publication2016-12-04 14:52:36
MaintainerHein Putter <>
LicenseGPL (>= 2)

View on CRAN

Man pages

aidssi: Data from the Amsterdam Cohort Studies on HIV infection and...

bmt: BMT data from Klein and Moeschberger

crprep: Function to create weighted data set for competing risks...

cuminc: Calculate nonparametric cumulative incidence functions and...

cutLMms: Cut a multi-state data set at a landmark time point

ebmt1: Data from the European Society for Blood and Marrow...

ebmt2: Data from the European Society for Blood and Marrow...

ebmt3: Data from the European Society for Blood and Marrow...

ebmt4: Data from the European Society for Blood and Marrow...

ELOS: Expected length of stay

events: Count number of observed transitions

expand.covs: Expand covariates in competing risks dataset in stacked...

expand.covs.msdata: Expand covariates in multi-state dataset in long format

LMAJ: Landmark Aalen-Johansen method

msboot: Bootstrap function in multi-state models

msfit: Compute subject-specific transition hazards with...

msprep: Function to prepare dataset for multi-state modeling in long...

mssample: Sample paths through a multi-state model

mstate-package: Data preparation, estimation and prediction in multi-state...

paths: Find all possible trajectories through a given multi-state...

plot.msfit: Plot method for an msfit object

plot.probtrans: Plot method for a probtrans object

print.msdata: Print method for a msdata object

probtrans: Compute subject-specific or overall transition probabilities...

prothr: Abnormal prothrombin levels in liver cirrhosis

redrank: Reduced rank proportional hazards model for competing risks...

summary.msfit: Summary method for an msfit object

summary.probtrans: Summary method for a probtrans object

trans: Define transition matrix for multi-state model

xsect: Make a cross-section of multi-state data at a given time...


aidssi Man page
aidssi2 Man page
bmt Man page
crprep Man page
crprep.default Man page
Cuminc Man page
cutLMms Man page
ebmt1 Man page
ebmt2 Man page
ebmt3 Man page
ebmt4 Man page
ELOS Man page
events Man page
expand.covs Man page
expand.covs.default Man page
expand.covs.msdata Man page
LMAJ Man page
msboot Man page
msfit Man page
msprep Man page
mssample Man page
mstate Man page
mstate-package Man page
paths Man page
plot.Cuminc Man page
plot.msfit Man page
plot.probtrans Man page
print.Cuminc Man page
print.msdata Man page
probtrans Man page
prothr Man page
redrank Man page
summary.Cuminc Man page
summary.msfit Man page
summary.probtrans Man page
trans.comprisk Man page
trans.illdeath Man page
transMat Man page
xsect Man page

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.