Description Usage Arguments Value
Calculate Healthy Eating Index
1 2 3 4 5 6 7 8 9 10 11 12 13 |
data |
data to be attached |
years |
years |
version |
2015 or 2010 |
method |
ssum or pratio. ssum: simple sum, pratio: population ratio |
dietary |
tot or iff |
day |
1 or 2 for per day, 1 and 2 for per person |
varLabel |
(for ssum) logical. whether to add variable label to HEI data |
energy |
(for ssum) logical. whether to keep energy column |
component |
(for ssum) logical. whether to keep component columns |
density |
(for ssum) logical. whether to keep density columns |
seed |
(for pratio) seed |
Healthy Eating Index
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.