This is an internal function
get_ind_data(hazard_rates, GRR, YOB, stop_year, RVstat, carrier_prob)
An object of class hazard
, created by hazard
.
Numeric. The genetic relative-risk of disease, i.e. the relative-risk of disease for individuals who carry at least one copy of the causal variant. Note: When simulating diseases with multiple subtypes GRR
must contain one entry for each simulated subtype. See details.
Numeric. The year of birth for all individuals in the sample.
Numeric. The last year of the study, i.e. the last year we can observe data.
The individual's cRV status
Numeric. The carrier probability for all causal variants with relative-risk of disease GRR
. By default, carrier_prob
= 0.002
A data frame of survival data