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

simfs_bytrans {flexsurv} | R 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.

[Package flexsurv version 2.1 Index]