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

View source: R/mstate.R

simfs_bytransR Documentation

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)

Arguments

simfs

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

Value

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


flexsurv documentation built on Sept. 12, 2024, 7:23 a.m.