Description Usage Arguments Value
View source: R/Validation_Functions.R
This is an internal function
1 | get_ind_data(hazard_rates, GRR, YOB, stop_year, RVstat, carrier_prob)
|
hazard_rates |
An object of class |
GRR |
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 |
YOB |
Numeric. The year of birth for all individuals in the sample. |
stop_year |
Numeric. The last year of the study, i.e. the last year we can observe data. |
RVstat |
The individual's cRV status |
carrier_prob |
Numeric. The carrier probability for all causal variants with relative-risk of disease |
A data frame of survival data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.