DietR Package
ASA24
Load and clean ASA24 data
Calculate totals by occasion
Data overview
Percent kcal of CARB, PROT, TFAT
Prepare for clustering
PCA
k-means
Foodtrees with all food items
Foodtrees with your own data
Visualize foodtrees
Ordination
Visualize ordination
Correlation between axes and foods
NHANES
Load and clean NHANES data - 1
Load and clean NHANES data - 2
Add metadata and GLU-index
Data overview
GLU-index by age and gender
Subset males 60-79 years old
Percent kcal of CARB, PROT, TFAT
Prepare for clustering
PCA
k-means
Generate foodtrees
Visualize foodtrees
Ordination
Visualize ordination
Correlation between axes and foods
Assign DivGroups by dietary diversity
Links
Resources
R and R-Studio
R
R-studio
Other R resources
Stackoverflow
The R Graph Gallery
RStudio Cheatsheets
Dietary data analysis
ASA24
ASA24 Researchers Site
ASA24 Resources
Reviewing and clearning ASA24 data
NHANES
NHANES Top Page
NHANES Data & Documentation