AHEI_DHQ3
AHEI_DHQ3.Rd
Calculate the AHEI for the DHQ3 data within 1 step
Arguments
- DATA_PATH
The file path for the data. The data is Detailed analysis file, ending with detail.csv
Examples
data("DHQ3_exp_detailed")
AHEI_DHQ3(DHQ3_exp_detailed)
#> # A tibble: 23 × 15
#> RESPONDENTID GENDER AHEI_ALL AHEI_NOETOH AHEI_VEG AHEI_FRT AHEI_WGRAIN
#> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 1 1 61.7 59.2 5.36 2.3 7.18
#> 2 2 2 68.5 66.0 3.62 2.12 4.84
#> 3 3 2 58.3 49.9 10 3.33 2.65
#> 4 4 2 46.1 43.6 1.72 2.33 2.99
#> 5 5 2 60.4 50.4 2.68 2.75 1.06
#> 6 6 2 51.7 48.9 1.58 0.175 3.21
#> 7 7 1 54.8 52.3 4.12 3.18 1.48
#> 8 8 2 52.8 45.8 4.54 1.8 1.97
#> 9 9 2 61.7 51.7 1.58 2.55 0.983
#> 10 10 2 54.2 50.6 2.1 0.175 5.44
#> # ℹ 13 more rows
#> # ℹ 8 more variables: AHEI_NUTSLEG <dbl>, AHEI_N3FAT <dbl>, AHEI_PUFA <dbl>,
#> # AHEI_SSB_FRTJ <dbl>, AHEI_REDPROC_MEAT <dbl>, AHEI_TRANS <dbl>,
#> # AHEI_SODIUM <dbl>, AHEI_ALCOHOL <dbl>