Learn R Programming

SmoothHazard (version 2024.04.10)

simulateIDM: Sample illness-death model data

Description

Simulate data from an illness-death model with interval censored event times and covariates

Usage

simulateIDM(n = 100)

Value

Object with class data.frame which contains the simulated data.

Arguments

n

number of observations

Details

Simulate data from an illness-death model with interval censored event times and covariates for the purpose of illustrating the help pages of the SmoothHazard package. See the body of the function for details, i.e., evaluate simulateIDM

See Also

idmModel sim.idmModel

Examples

Run this code
# simulateIDM
simulateIDM(100)

Run the code above in your browser using DataLab