Skip to contents

Simulate example data

Usage

simulate_example_data(
  N = 10,
  beta_haz = NULL,
  beta_pk = NULL,
  w0 = 0.001,
  tm = NULL,
  ...
)

Arguments

N

number of subjects

beta_haz

see the documentation of MultistateModel

beta_pk

see the documentation of MultistateModel

w0

see the documentation of MultistateModel

tm

A TransitionMatrix

...

arguments passed to create_msm