rel_risk_fun {obcost}R Documentation

rel_risk_fun function

Description

The "rel_risk_fun" could update the relative risks (or the constants) when crucial data needs updating

Usage

rel_risk_fun(rr)

Arguments

rr

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.

Value

a list (dataframe) of relative risks

Examples

key <- rel_risk_fun(rr = c(1,2,3,4,5,6,7,8,1.2))
key$rr

[Package obcost version 0.1.0 Index]