compute_su_y_alcsre__hvy_nm: Compute "Alcohol Subject Response and Effects [Youth]...

View source: R/scores_su.R

compute_su_y_alcsre__hvy_nmR Documentation

Compute "Alcohol Subject Response and Effects [Youth] (Heaviest drinking period): Number missing"

Description

Computes the summary score su_y_alcsre__hvy_nm Alcohol Subject Response and Effects [Youth] (Heaviest drinking period): Number missing

  • Summarized variables:

    • su_y_alcsre__hvy_001

    • su_y_alcsre__hvy_002

    • su_y_alcsre__hvy_003

    • su_y_alcsre__hvy_004

  • Excluded values: none

Usage

compute_su_y_alcsre__hvy_nm(data, name = "su_y_alcsre__hvy_nm", combine = TRUE)

Arguments

data

tbl. Data frame containing the columns to be summarized.

name

character. Name of the new column to be created (Default: the name used in the ABCD data release).

combine

logical. If TRUE, the new column will be bound to the input data frame. If FALSE, the new column will be created as a new data frame.

Value

tbl. The input data frame with the summary score appended as a new column.


ABCDscores documentation built on Sept. 11, 2025, 5:08 p.m.