Skip to contents

Calculate the HEI2015 dietary index (serving size based) per 1 day

Usage

HEI2015_BLOCK(RAW_DATA)

Arguments

RAW_DATA

The raw data file that includes results and raw data of the dietary assessment

Value

The HEI2015 index/score and its components

Examples

data("BLOCK_exp")
HEI2015_BLOCK(BLOCK_exp)
#> # A tibble: 5 × 15
#>   RESPONDENTID HEI2015_ALL HEI2015_TOTALFRT HEI2015_FRT HEI2015_VEG
#>          <dbl>       <dbl>            <dbl>       <dbl>       <dbl>
#> 1            1        76.6            5            5           2.57
#> 2            2        42.0            0.986        1.08        1.32
#> 3            3        56.0            2.25         3.56        2.42
#> 4            4        48.7            5            5           1.11
#> 5            5        65.7            5            5           5   
#> # ℹ 10 more variables: HEI2015_GREENNBEAN <dbl>, HEI2015_TOTALPRO <dbl>,
#> #   HEI2015_SEAPLANTPRO <dbl>, HEI2015_WHOLEGRAIN <dbl>, HEI2015_DAIRY <dbl>,
#> #   HEI2015_FATTYACID <dbl>, HEI2015_REFINEDGRAIN <dbl>, HEI2015_SODIUM <dbl>,
#> #   HEI2015_ADDEDSUGAR <dbl>, HEI2015_SATFAT <dbl>