Compute "Caffeine Use Questionnaire [Youth] (Soda): Sum [Validation: None]"
Source:R/scores_su.R
compute_su_y_caff__soda_sum.RdComputes the summary score su_y_caff__soda_sum
Caffeine Use Questionnaire [Youth] (Soda) : Sum [Validation: None]
Summarized variables:
su_y_caff__soda_001su_y_caff__soda_001__01__01su_y_caff__soda_001__01__02su_y_caff__soda_001__01__03su_y_caff__soda_001__02__01su_y_caff__soda_001__02__02su_y_caff__soda_001__02__03su_y_caff__soda_001__03__01su_y_caff__soda_001__03__02su_y_caff__soda_001__03__03su_y_caff__soda_001__04__01su_y_caff__soda_001__04__02su_y_caff__soda_001__04__03su_y_caff__soda_001__l
Excluded values: none
Validation criterion: none
Usage
vars_su_y_caff__soda
compute_su_y_caff__soda_sum(data, name = "su_y_caff__soda_sum", combine = TRUE)Format
vars_su_y_caff__soda is a character vector of all column names used
to compute compute_su_y_caff__soda_sum.
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.