Compute "Life Events [Parent] (Events): Number missing - Version 1 (Year 3)"
Source:R/scores_mh.R
compute_mh_p_ple_nm__v01.RdComputes the summary score mh_p_ple_nm__v01
Life Events [Parent] (Events): Number missing - Version 1 (Year 3)
Summarized variables:
mh_p_ple_001mh_p_ple_002mh_p_ple_003mh_p_ple_004mh_p_ple_005mh_p_ple_006mh_p_ple_007mh_p_ple_008mh_p_ple_009mh_p_ple_010mh_p_ple_011mh_p_ple_012mh_p_ple_013mh_p_ple_014mh_p_ple_015mh_p_ple_016mh_p_ple_017mh_p_ple_018mh_p_ple_019mh_p_ple_020mh_p_ple_021mh_p_ple_022mh_p_ple_023mh_p_ple_024mh_p_ple_025mh_p_ple_026mh_p_ple_027mh_p_ple_028mh_p_ple_029mh_p_ple_030mh_p_ple_031
Excluded values:
444
777
999
Usage
compute_mh_p_ple_nm__v01(
data,
name = "mh_p_ple_nm__v01",
events = "ses-03A",
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).
- 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.