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

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.