ms_structures: Built-in process structures

View source: R/structures.R

ms_structuresR Documentation

Built-in process structures

Description

The seven canonical multi-state process structures supported by the package: two-state failure, recurrent event, three-state illness-death, four-state illness-death, reversible illness-death, competing risks and complex hybrid.

Usage

ms_structures()

ms_states(process)

Arguments

process

Character. One of ms_structures().

Value

ms_structures returns a character vector of the seven structure names. ms_states returns the clinical state labels for one structure.

Examples

ms_structures()
ms_states("complex_hybrid")

modMStates documentation built on Sept. 3, 2026, 5:10 p.m.