Compute "Life Events [Parent] (Experience): Number missing - Version 4 (Starting at Year 7)"
Source:R/scores_mh.R
compute_mh_p_ple__exp_nm__v04.RdComputes the summary score mh_p_ple__exp_nm__v04
Life Events [Parent] (Experience): Number missing - Version 4
(Starting at Year 7)
Summarized variables:
mh_p_ple__exp_001mh_p_ple__exp_002mh_p_ple__exp_007mh_p_ple__exp_008mh_p_ple__exp_011mh_p_ple__exp_012mh_p_ple__exp_013mh_p_ple__exp_014mh_p_ple__exp_015mh_p_ple__exp_018mh_p_ple__exp_019mh_p_ple__exp_021mh_p_ple__exp_022mh_p_ple__exp_023mh_p_ple__exp_024mh_p_ple__exp_026mh_p_ple__exp_027mh_p_ple__exp_028mh_p_ple__exp_032mh_p_ple__exp_033
Excluded values:
444
777
999
Usage
compute_mh_p_ple__exp_nm__v04(
data,
name = "mh_p_ple__exp_nm__v04",
events = "ses-07A",
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.