Description Usage Arguments Value
View source: R/LifeSim_Functions.R
Calculate the onset hazard rate of disease for an individual given the carrier probability and the genetic relative risk for the subtype and the individual's RV status.
1 | get_onsetHazard(sub_hazard, sub_GRR, carrier_prob, RV_status)
|
sub_hazard |
The hazard rate of disease for the subtype of interest |
sub_GRR |
The genetic relative risk of disease for the subtype of interest. |
carrier_prob |
Numeric. The carrier probability for all causal variants with relative-risk of disease |
RV_status |
Numeric. |
The baseline age-specific hazard rates of disease
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.