
AHEIP_DHQ3
AHEIP_DHQ3.RdCalculate the AHEIP (alternative healthy eating index - pregnancy) for the DHQ3 data within 1 step
Examples
data("DHQ3_exp")
AHEIP_DHQ3(DHQ3_exp)
#> # A tibble: 23 × 11
#> RESPONDENTID AHEIP_ALL AHEIP_VEG AHEIP_FRT AHEIP_WHITEREAD AHEIP_FIBER
#> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 1 55.8 5.5 2.33 0.339 8.85
#> 2 2 50.5 3.88 2.17 1.88 8.05
#> 3 3 63.9 10 3.35 0.977 10
#> 4 4 44.6 1.96 2.33 1.62 5.26
#> 5 5 43.2 2.98 2.75 3.42 5.00
#> 6 6 31.3 1.74 0.225 0.423 1.89
#> 7 7 45.6 4.16 3.18 10 5.50
#> 8 8 51.0 4.98 1.85 2.49 7.06
#> 9 9 39.7 1.78 2.62 1.82 4.09
#> 10 10 47.1 2.32 0.2 1.47 5.87
#> # ℹ 13 more rows
#> # ℹ 5 more variables: AHEIP_TRANS <dbl>, AHEIP_POLYSAT <dbl>,
#> # AHEIP_CALCIUM <dbl>, AHEIP_FOLATE <dbl>, AHEIP_IRON <dbl>