Skip to contents

This is still experimental since the conversion is not 1:1. The multi-state representation drops non-changing visits, hence the exact visit data cannot be recovered form a multi-state representation.

Usage

mstate_to_visits(model, tbl_mstate, ...)

Arguments

model

a model of class "Model"

tbl_mstate

a data table in multi-state format. TODO: explain

...

further arguments passed to method implementations

Value

A data frame (tibble) in visit format, where each line corresponds to individual visits.

Details

The intermediate visits are reconstructed using the visit spacing information stored in the model.