Package: obcost 0.1.0
Tianyue Zang
obcost: Obesity Cost Database
This database contains necessary data relevant to medical costs on obesity throughout the United States. This database, in form of an R package, could output necessary data frames relevant to obesity costs, where the clients could easily manipulate the output using difference parameters, e.g. relative risks for each illnesses. This package contributes to parts of our published journal named "Modeling the Economic Cost of Obesity Risk and Its Relation to the Health Insurance Premium in the United States: A State Level Analysis". Please use the following citation for the journal: Woods Thomas, Tatjana Miljkovic (2022) "Modeling the Economic Cost of Obesity Risk and Its Relation to the Health Insurance Premium in the United States: A State Level Analysis" <doi:10.3390/risks10100197>. The database is composed of the following main tables: 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. Three functions are included to assist users in calling and adjusting the mentioned tables and they are data_load(), data_produce(), and rel_risk_fun().
Authors:
obcost_0.1.0.tar.gz
obcost_0.1.0.zip(r-4.5)obcost_0.1.0.zip(r-4.4)obcost_0.1.0.zip(r-4.3)
obcost_0.1.0.tgz(r-4.4-any)obcost_0.1.0.tgz(r-4.3-any)
obcost_0.1.0.tar.gz(r-4.5-noble)obcost_0.1.0.tar.gz(r-4.4-noble)
obcost_0.1.0.tgz(r-4.4-emscripten)obcost_0.1.0.tgz(r-4.3-emscripten)
obcost.pdf |obcost.html✨
obcost/json (API)
NEWS
# Install 'obcost' in R: |
install.packages('obcost', repos = c('https://zangt2.r-universe.dev', 'https://cloud.r-project.org')) |
- constant - Default Input of Relative Risk
- full_data - Necessary Raw Data for Generating New Tables With User Input
- obesity_cost_disease - Relevant Data for Obesity, Cost, and Diseases
- obesity_cost_full - Relevant Data for Obesity, Cost, and Diseases
- obesity_cost_national_summary - National summary cost calculations in a given year
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 2 years agofrom:e590d35df4. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 16 2024 |
R-4.5-win | OK | Oct 16 2024 |
R-4.5-linux | OK | Oct 16 2024 |
R-4.4-win | OK | Oct 16 2024 |
R-4.4-mac | OK | Oct 16 2024 |
R-4.3-win | OK | Oct 16 2024 |
R-4.3-mac | OK | Oct 16 2024 |
Exports:data_loaddata_producerel_risk_fun
Dependencies:clicpp11dplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Obesity Cost Database | obcost-package obcost |
Default Input of Relative Risk | constant |
data_load function | data_load |
data_produce function | data_produce |
Necessary Raw Data for Generating New Tables With User Input | full_data |
Relevant Data for Obesity, Cost, and Diseases | obesity_cost_disease |
Relevant Data for Obesity, Cost, and Diseases | obesity_cost_full |
National summary cost calculations in a given year | obesity_cost_national_summary |
rel_risk_fun function | rel_risk_fun |