vars_su_y_alchss | R Documentation |
Computes the summary score su_y_alchss_sum
Alcohol Hangover Symptoms Scale (HSS) [Youth]: Sum
Summarized variables:
su_y_alchss_001
su_y_alchss_002
su_y_alchss_003
su_y_alchss_004
su_y_alchss_005
su_y_alchss_006
su_y_alchss_007
su_y_alchss_008
su_y_alchss_009
su_y_alchss_010
su_y_alchss_011
su_y_alchss_012
su_y_alchss_013
su_y_alchss_014
su_y_alchss_001__l
su_y_alchss_002__l
su_y_alchss_003__l
su_y_alchss_004__l
su_y_alchss_005__l
su_y_alchss_006__l
su_y_alchss_007__l
su_y_alchss_008__l
su_y_alchss_009__l
su_y_alchss_010__l
su_y_alchss_011__l
su_y_alchss_012__l
su_y_alchss_013__l
su_y_alchss_014__l
Excluded values: none
Validation criterion: maximally 0 of 2 items missing
vars_su_y_alchss
compute_su_y_alchss_sum(
data,
name = "su_y_alchss_sum",
max_na = 0,
combine = TRUE
)
data |
tbl, Dataframe containing the columns to be summarized. |
name |
character, Name of the new column to be created. Default is the name in description, but users can change it. |
max_na |
integer, Maximum number of missing values allowed in the summary score. |
combine |
logical, If |
vars_su_y_alchss is a table of all column names
used to compute summary score of su_y_alchss
.
tbl. The input data frame with the summary score appended as a new column.
## Not run:
compute_su_y_alchss_sum(data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.