Computes the summary score mh_p_abcl_sum
Adult Behavior Checklist [Parent]: Sum
Summarized variables:
mh_p_abcl__rule_001
mh_p_abcl__attn__adhd_002
mh_p_abcl__tho_001
mh_p_abcl__othpr__adhd_001
mh_p_abcl__anxdep__dep_001
mh_p_abcl__aggr__antsoc_003
mh_p_abcl__tho__dep_001
mh_p_abcl__othpr__antsoc_001
mh_p_abcl__tho_002
mh_p_abcl__aggr_001
mh_p_abcl__aggr__antsoc_006
mh_p_abcl__tho_003
mh_p_abcl__tho_004
mh_p_abcl__tho_006
mh_p_abcl__rule_002
mh_p_abcl__tho__dep_002
mh_p_abcl__rule__antsoc_007
mh_p_abcl__aggr__antsoc_008
mh_p_abcl__anxdep__dep_004
mh_p_abcl__aggr__adhd_001
mh_p_abcl__attn__adhd_001
mh_p_abcl__attn__adhd_003
mh_p_abcl__attn__adhd_004
mh_p_abcl__attn__adhd_005
mh_p_abcl__attn__adhd_006
mh_p_abcl__attn__adhd_007
mh_p_abcl__othpr__adhd_002
mh_p_abcl__othpr__adhd_003
mh_p_abcl__othpr__adhd_004
mh_p_abcl__rule__adhd_001
mh_p_abcl__aggr__antsoc_001
mh_p_abcl__aggr__antsoc_002
mh_p_abcl__aggr__antsoc_004
mh_p_abcl__aggr__antsoc_005
mh_p_abcl__aggr__antsoc_007
mh_p_abcl__attn__antsoc_001
mh_p_abcl__othpr__antsoc_002
mh_p_abcl__rule__antsoc_001
mh_p_abcl__rule__antsoc_002
mh_p_abcl__rule__antsoc_003
mh_p_abcl__rule__antsoc_004
mh_p_abcl__rule__antsoc_005
mh_p_abcl__rule__antsoc_006
mh_p_abcl__rule__antsoc_008
mh_p_abcl__rule__antsoc_009
mh_p_abcl__anxdep__anx_001
mh_p_abcl__anxdep__anx_002
mh_p_abcl__anxdep__anx_003
mh_p_abcl__othpr__anx_001
mh_p_abcl__othpr__anx_002
mh_p_abcl__othpr__anx_003
mh_p_abcl__anxdep__avoid_001
mh_p_abcl__anxdep__avoid_002
mh_p_abcl__othpr__avoid_001
mh_p_abcl__wthdr__avoid_001
mh_p_abcl__wthdr__avoid_002
mh_p_abcl__wthdr__avoid_003
mh_p_abcl__wthdr__avoid_004
mh_p_abcl__anxdep__dep_002
mh_p_abcl__anxdep__dep_003
mh_p_abcl__anxdep__dep_005
mh_p_abcl__attn__dep_001
mh_p_abcl__attn__dep_002
mh_p_abcl__attn__dep_003
mh_p_abcl__othpr__dep_001
mh_p_abcl__othpr__dep_002
mh_p_abcl__othpr__dep_003
mh_p_abcl__som__dep_001
mh_p_abcl__wthdr__dep_001
mh_p_abcl__som__somat_001
mh_p_abcl__som__somat_002
mh_p_abcl__som__somat_003
mh_p_abcl__som__somat_004
mh_p_abcl__som__somat_005
mh_p_abcl__som__somat_006
mh_p_abcl__som__somat_007
mh_p_abcl__aggr_002
mh_p_abcl__aggr_003
mh_p_abcl__aggr_004
mh_p_abcl__aggr_005
mh_p_abcl__aggr_006
mh_p_abcl__aggr_007
mh_p_abcl__anxdep_001
mh_p_abcl__anxdep_002
mh_p_abcl__anxdep_003
mh_p_abcl__anxdep_004
mh_p_abcl__attn_001
mh_p_abcl__attn_002
mh_p_abcl__attn_003
mh_p_abcl__attn_004
mh_p_abcl__attn_005
mh_p_abcl__attn_006
mh_p_abcl__rule_003
mh_p_abcl__intru_001
mh_p_abcl__intru_002
mh_p_abcl__intru_003
mh_p_abcl__intru_004
mh_p_abcl__intru_005
mh_p_abcl__intru_006
mh_p_abcl__wthdr_001
mh_p_abcl__wthdr_002
mh_p_abcl__wthdr_003
mh_p_abcl__wthdr_004
mh_p_abcl__som_001
mh_p_abcl__othpr_001
mh_p_abcl__othpr_002
mh_p_abcl__othpr_003
mh_p_abcl__othpr_004
mh_p_abcl__othpr_005
mh_p_abcl__othpr_006
mh_p_abcl__othpr_007
mh_p_abcl__othpr_008
mh_p_abcl__othpr_009
mh_p_abcl__othpr_010
mh_p_abcl__othpr_011
mh_p_abcl__othpr_012
mh_p_abcl__tho_005
mh_p_abcl__tho_007
Excluded values:
777
999
Validation criterion: maximally 8 of 118 items missing
compute_mh_p_abcl_sum(
data,
name = "mh_p_abcl_sum",
max_na = 8,
exclude = c("777", "999"),
combine = TRUE
)tbl. see combine.
tbl. Data frame containing the columns to be summarized.
character. Name of the summary score column.
numeric, positive whole number. Number of missing items
allowed. NULL means no limit.
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.
compute_mh_p_abcl_nm()
if (FALSE) {
compute_mh_p_abcl_sum(data) |>
select(
any_of(c("mh_p_abcl_sum", vars_mh_p_abcl))
)
}
Run the code above in your browser using DataLab