Package: DIETCOST 1.0.0.0
DIETCOST: Calculate the Cost and Environmental Impact of a Ideal Diet
Easily perform a Monte Carlo simulation to evaluate the cost and carbon, ecological, and water footprints of a set of ideal diets. Pre-processing tools are also available to quickly treat the data, along with basic statistical features to analyze the simulation results — including the ability to establish confidence intervals for selected parameters, such as nutrients and price/emissions. A 'standard version' of the datasets employed is included as well, allowing users easy access to customization. This package brings to R the 'Python' software initially developed by Vandevijvere, Young, Mackay, Swinburn and Gahegan (2018) <doi:10.1186/s12966-018-0648-6>.
Authors:
DIETCOST_1.0.0.0.tar.gz
DIETCOST_1.0.0.0.zip(r-4.7)DIETCOST_1.0.0.0.zip(r-4.6)DIETCOST_1.0.0.0.zip(r-4.5)
DIETCOST_1.0.0.0.tgz(r-4.6-any)DIETCOST_1.0.0.0.tgz(r-4.5-any)
DIETCOST_1.0.0.0.tar.gz(r-4.7-any)DIETCOST_1.0.0.0.tar.gz(r-4.6-any)
DIETCOST_1.0.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
DIETCOST/json (API)
| # Install 'DIETCOST' in R: |
| install.packages('DIETCOST', repos = c('https://hbracarense.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/hbracarense/dietcost/issues
- food_groups - Food groups dataset example
- foods - Foods dataset example
- nutrient_targets - Nutrients dataset example
Last updated from:59ef942f66. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 200 | ||
| source / vignettes | OK | 170 | ||
| linux-release-x86_64 | OK | 147 | ||
| macos-release-arm64 | OK | 178 | ||
| macos-oldrel-arm64 | OK | 238 | ||
| windows-devel | OK | 118 | ||
| windows-release | OK | 90 | ||
| windows-oldrel | OK | 91 | ||
| wasm-release | OK | 121 |
Exports:%>%add_float_rangeadd_rangeaddConstraintDataaddEmissionDataaddFoodGroupsConstraintDataaddNutrientDataaddPriceDatacalculateGroupedResultscalculateResultscheck_functioncheck_id_definedcheck_match_food_pricecheck_match_individual_dietcheck_min_existscheck_nom_num_dfcheck_non_numcheck_spellingcheck_varietycheckLinkedFoodschecks_optional_food_groupscheckZeroDiffconverts_dataframeconvertWeeklyFoodGroupsconvertWeeklyNutrientTargetscreateFoodDatacreateFoodGroupDatacreateNutrientTargetscreateRandomMealdiff_calcenergy_conversorfoodDatafoodGroupDatagetDifferencegetFoodGroupServesgetNutrientsgetPercjoin_functionmonteCarlomonteCarloSimulationnutrientDataCalculationpermitted_individualspriceEmissionDataprintResultsredmeat_checkremove_suffixsample_safesauces_protein_discretionary_changestandard_name_checkstarchy_filltreat_dftreat_groups_dfunique_valuesupload_data
Dependencies:cellrangerclicpp11crayondplyrgenericsgluehmslifecyclemagrittrpillarpkgconfigprettyunitsprogressR6readxlrematchrJavarlangtibbletidyselectutf8vctrswithrxlsxxlsxjars
