| compute_mh_p_ple__severity_mean__v04 | R Documentation | 
Computes the summary score mh_p_ple__severity_mean__v04
Life Events [Parent] (Severity): Mean - Version 4 (Starting at Year 7)
[Validation: No more than 6 events missing and no severity items missing
or declined]
Summarized variables:
mh_p_ple__severity_001
mh_p_ple__severity_002
mh_p_ple__severity_007
mh_p_ple__severity_008
mh_p_ple__severity_011
mh_p_ple__severity_012
mh_p_ple__severity_013
mh_p_ple__severity_014
mh_p_ple__severity_015
mh_p_ple__severity_018
mh_p_ple__severity_019
mh_p_ple__severity_021
mh_p_ple__severity_022
mh_p_ple__severity_023
mh_p_ple__severity_024
mh_p_ple__severity_026
mh_p_ple__severity_027
mh_p_ple__severity_028
mh_p_ple__severity_032
mh_p_ple__severity_033
Excluded values:
444
777
999
Validation criterion: maximally 4 of 20 items missing
compute_mh_p_ple__severity_mean__v04(
  data,
  name = "mh_p_ple__severity_mean__v04",
  events = "ses-07A",
  combine = TRUE,
  max_na = 4
)
| 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). | 
| events | character vector. Event (session ID) to be used. | 
| 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: 4). | 
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.