Learn R Programming

flexmsm (version 0.1.2)

simulateIDM: Function to predict and plot the estimated transition intensities (and confidence intervals).

Description

Function to predict and plot the estimated transition intensities (and confidence intervals).

Usage

simulateIDM(N = N, seed = seed, og.12 = TRUE)

Value

Simulated data generated from an Illness-Death model (IDM).

Arguments

N

Total number of individuals.

seed

Seed used for the simulation.

og.12

If TRUE a common shape for the first transition is used. If FALSE a sinusoid is used.