simulateIDM {SmoothHazard}R Documentation

Sample illness-death model data

Description

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

Usage

simulateIDM(n = 100)

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

Value

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

See Also

idmModel sim.idmModel

Examples

# simulateIDM
simulateIDM(100)

[Package SmoothHazard version 2024.04.10 Index]