runShinyApp {heiscore}R Documentation

Launch Shiny app to visualize Healthy Eating Index (HEI) scores

Description

This function launches a Shiny application that allows users to visualize HEI scores calculated from National Health and Nutrition Examination Survey (NHANES) 24-hour dietary recall data.

Usage

runShinyApp()

Value

No return value, launches interactive Shiny app

Shiny App Tab Information

Tab 1 - Variable Information: The Variable Information tab provides additional information on dietary components and constituents.

Tab 2 - Demographics: The Demographics tab displays a bar chart that illustrates the distribution of the NHANES sample across categories including sex, race, age, and income. The chart is weighted to ensure the distribution is aligned with the demographics of the entire United States.

Side Panel Options

Tab 3 - Recalls: The Recalls tab displays a histogram of the raw consumption of the selected food group, weighted to make the distribution representative of the United States.

Side Panel Options

Below Plot Options

Tab 4 - Scoring: The Scoring tab visualizes HEI scores from NHANES data. The graphs are weighted to make the distributions representative of the United States.

Side Panel Options

Below Plot Options

Examples


runShinyApp()


[Package heiscore version 0.1.3 Index]