simulateIDM function

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

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

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

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.

Returns

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

  • Maintainer: Alessia Eletti
  • License: MIT + file LICENSE
  • Last published: 2024-07-19

Useful links