data_produce | R Documentation |
The data_produce function would generate the essential four tables that concerns obesity including 1. Relative Risks (constant): Relative risks for a given disease group with a risk factor of obesity. 2. Disease Cost (obesity_cost_disease): Supplementary output with all variables related to individual disease groups in a given state and year. 3. Full Cost (obesity_cost_full): Complete output with all variables used to make cost calculations, as well as cost calculations in a given state and year. 4. National Summary (obesity_cost_national_summary): National summary cost calculations in a given year.
data_produce(rr = c())
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. |
a list (dataframe) of constant, obesity_cost_disease, obesity_cost_full, and obesity_cost_national_summary
new_data <- data_produce(rr = c(1,2,3,4,5,6,7,8,9.1)) cnst <- new_data$constant
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.