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.


chjackson/flexsurv-dev documentation built on April 23, 2024, 10:57 a.m.