Learn R Programming

flexsurv (version 2.3.2)

simfs_bytrans: Reformat simulated multi-state data with one row per simulated transition

Description

Reformat simulated multi-state data with one row per simulated transition

Usage

simfs_bytrans(simfs)

Value

Data frame with four columns giving transition start state, transition end state, transition name and the time taken by the transition.

Arguments

simfs

Output from sim.fmsm representing simulated histories from a multi-state model.