powered by
The "rel_risk_fun" could update the relative risks (or the constants) when crucial data needs updating
rel_risk_fun(rr)
a list (dataframe) of relative risks
the relative risks of diseases -- Cardiovascular disease, diabetes, cancer, Chronic obstructive pulmonary disease or asthma, osteoarthritis, hypertension, kidney diseases, (Gallbladder, Liver, Pancreatic) diseases, and strokes.
key <- rel_risk_fun(rr = c(1,2,3,4,5,6,7,8,1.2)) key$rr
Run the code above in your browser using DataLab