Learn R Programming

⚠️There's a newer version (0.3.3) of this package.Take me there.

mstate (version 0.2.7)

Data preparation, estimation and prediction in multi-state models

Description

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

Copy Link

Version

Install

install.packages('mstate')

Monthly Downloads

9,358

Version

0.2.7

License

GPL (>= 2)

Maintainer

Hein Putter

Last Published

May 30th, 2014

Functions in mstate (0.2.7)

msfit

Compute subject-specific transition hazards with (co-)variances
probtrans

Compute subject-specific or overall transition probabilities with standard errors
summary.probtrans

Summary method for a probtrans object
redrank

Reduced rank proportional hazards model for competing risks and multi-state models
msboot

Bootstrap function in multi-state models
plot.probtrans

Plot method for a probtrans object
HIV/AIDS SI data

Data from the Amsterdam Cohort Studies on HIV infection and AIDS
ELOS

Expected length of stay
xsect

Make a cross-section of multi-state data at a given time point
Cuminc

Calculate nonparametric cumulative incidence functions and associated standard errors
expand.covs

Expand covariates in dataset in long format
cutLMms

Cut a multi-state data at a landmark time point
summary.msfit

Summary method for an msfit object
msprep

Function to prepare dataset for multi-state modeling in long format from dataset in wide format
paths

Find all possible trajectories through a given multi-state model
EBMT data

Data from the European Society for Blood and Marrow Transplantation (EBMT)
plot.msfit

Plot method for an msfit object
EBMT platelet recovery data

Data from the European Society for Blood and Marrow Transplantation (EBMT)
print.msdata

Print method for a msdata object
mstate-package

Data preparation, estimation and prediction in multi-state models
mssample

Sample paths through a multi-state model
EBMT cause of death data

Data from the European Society for Blood and Marrow Transplantation (EBMT)
crprep

Function to create weighted data set for competing risks analyses
transMat

Define transition matrix for multi-state model
Liver cirrhosis data

Abnormal prothrombin levels in liver cirrhosis
events

Count number of observed transitions
EBMT year of relapse data

Data from the European Society for Blood and Marrow Transplantation (EBMT)
bmt

BMT data from Klein and Moeschberger