vars_mh_y_ple__severity | R Documentation |
Computes the summary score mh_y_ple__severity_sum
Life Events [Youth] (Severity): Sum [Validation: No more than 5
events missing and no severity items missing or declined]
Summarized variables:
mh_y_ple__severity_001
mh_y_ple__severity_002
mh_y_ple__severity_003
mh_y_ple__severity_004
mh_y_ple__severity_005
mh_y_ple__severity_006
mh_y_ple__severity_007
mh_y_ple__severity_008
mh_y_ple__severity_009
mh_y_ple__severity_010
mh_y_ple__severity_011
mh_y_ple__severity_012
mh_y_ple__severity_013
mh_y_ple__severity_014
mh_y_ple__severity_015
mh_y_ple__severity_016
mh_y_ple__severity_017
mh_y_ple__severity_018
mh_y_ple__severity_019
mh_y_ple__severity_020
mh_y_ple__severity_021
mh_y_ple__severity_022
mh_y_ple__severity_023
mh_y_ple__severity_024
mh_y_ple__severity_025
Excluded values:
444
777
999
Validation criterion: maximally 5 of 25 items missing
vars_mh_y_ple__severity
compute_mh_y_ple__severity_sum(
data,
name = "mh_y_ple__severity_sum",
combine = TRUE,
max_na = 5
)
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. |
max_na |
numeric, positive whole number. Number of missing items allowed (Default: 5). |
vars_mh_y_ple__severity is a character vector of all column names
used to compute summary score of mh_y_ple__severity
.
tbl. The input data frame with the summary score appended as a new column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.