Computes the summary score mh_p_asr__synd__ext_nm
Adult Self Report [Parent] (Syndrome Scale - Externalizing): Number
missing
Summarized variables:
mh_p_asr__intru_001
mh_p_asr__intru_002
mh_p_asr__intru_003
mh_p_asr__intru_004
mh_p_asr__intru_005
mh_p_asr__intru_006
mh_p_asr__rule_001
mh_p_asr__rule_002
mh_p_asr__rule_003
mh_p_asr__rule_004
mh_p_asr__rule__hypimp_001
mh_p_asr__rule__antsoc_001
mh_p_asr__rule__antsoc_002
mh_p_asr__rule__antsoc_003
mh_p_asr__rule__antsoc_004
mh_p_asr__rule__antsoc_005
mh_p_asr__rule__antsoc_006
mh_p_asr__rule__antsoc_007
mh_p_asr__rule__antsoc_008
mh_p_asr__rule__antsoc_009
mh_p_asr__aggr_001
mh_p_asr__aggr_002
mh_p_asr__aggr_003
mh_p_asr__aggr_004
mh_p_asr__aggr_005
mh_p_asr__aggr_006
mh_p_asr__aggr__hypimp_001
mh_p_asr__aggr__antsoc_001
mh_p_asr__aggr__antsoc_002
mh_p_asr__aggr__antsoc_003
mh_p_asr__aggr__antsoc_004
mh_p_asr__aggr__antsoc_005
mh_p_asr__aggr__antsoc_006
mh_p_asr__aggr__antsoc_007
mh_p_asr__aggr__antsoc_008
Excluded values:
777
999
vars_mh_p_asr__synd__extcompute_mh_p_asr__synd__ext_nm(
data,
name = "mh_p_asr__synd__ext_nm",
exclude = c("777", "999"),
combine = TRUE
)
tbl. see combine.
vars_mh_p_asr__synd__ext is vector of all column names
used to compute summary score of mh_p_asr__synd__ext scores.
tbl. Data frame containing the columns to be summarized.
character. Name of the summary score column.
character vector. Values to be excluded from the summary score.
logical. If TRUE (default), the summary score is
is appended as a new column to the input data frame. If FALSE, the
summary score is returned as a separate one-column data frame.
if (FALSE) {
compute_mh_p_asr__synd__ext_nm(data) |>
select(
any_of(c("mh_p_asr__synd__ext_nm", vars_mh_p_asr__synd__ext))
)
}
Run the code above in your browser using DataLab