Description Usage Arguments Value
View source: R/Validation_Functions.R
This function is under construction. Plan to release in an update after function level testing has been implemented.
1 2 |
nlives |
Numeric. The number of individuals to simulate |
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. |
RV_status |
Numeric. The rare variant status for all individuals in the study. |
carrier_prob |
Numeric. The carrier probability for all causal variants with relative-risk of disease |
A data frame of event times and classifiers for the simulated individuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.