simu_data: Simulated population for Life Years Lost estimation.

simu_dataR Documentation

Simulated population for Life Years Lost estimation.

Description

A dataset containing age and cause of death, as well as age at disease diagnosis (or start of a condition) for 100,000 simulated persons.

Usage

simu_data

Format

A data frame with 100000 rows and 6 variables:

id

unique identifier of each person

age_start

age at start of follow-up (0 for all individuals)

age_death

age at end of follow-up (death or censoring)

death

logical variable (TRUE = death / FALSE = censoring)

cause_death

factor variable with 3 levels: "Alive" (for those censored) and "Natural" and "Unnatural" (for those dying of natural and unnatural causes of death, respectively)

age_disease

age at developing a specific disease or condition for those 32,391 individuals that develop the disease (missing for the remaining 67,609)

Source

Simulated data


lillies documentation built on Aug. 7, 2023, 5:09 p.m.

Related to simu_data in lillies...