Skip to contents

Calculate the DASH dietary index for Block FFQ (2013) per 1 day

Usage

DASH_BLOCK(RAW_DATA)

Arguments

RAW_DATA

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

Value

The DASH and its component scores

Examples

data("BLOCK_exp")
DASH_BLOCK(BLOCK_exp)
#> [1] "Reminder: this DASH index uses quintiles to rank participants' food/drink serving sizes and then calculate DASH component scores, which may generate results that are specific to your study population but not comparable to other populations."
#> # A tibble: 5 × 25
#>   RESPONDENTID DASH_ALL DASH_FRT DASH_VEG DASH_NUTSLEG DASH_WGRAIN
#>          <dbl>    <dbl>    <dbl>    <dbl>        <dbl>       <dbl>
#> 1            1       28        3        2            4           3
#> 2            2       19        1        1            5           1
#> 3            3       23        2        4            3           5
#> 4            4       23        4        3            2           4
#> 5            5       28        5        5            1           2
#> # ℹ 19 more variables: DASH_LOWF_DAIRY <dbl>, DASH_SODIUM <dbl>,
#> #   DASH_REDPROC_MEAT <dbl>, DASH_SSB_FRTJ <dbl>, DT_KCAL <dbl>,
#> #   F_BERRIES <dbl>, F_WHOLE <dbl>, FRT_FRTJ_SERV <dbl>, VEG_SERV <dbl>,
#> #   NUTSLEG_SERV <dbl>, WGRAIN_SERV <dbl>, LOWF_MILK_SERV <dbl>,
#> #   YOGURT_SERV <dbl>, LOWF_ICECREAMFROYO_SERV <dbl>, LOWF_CHEESE_SERV <dbl>,
#> #   LOWF_DAIRY_SERV <dbl>, SODIUM_SERV <dbl>, REDPROC_MEAT_SERV <dbl>,
#> #   SSB_FRTJ_SERV <dbl>