Compute "Barkley Deficits in Executive Functioning Scale [Parent] (EF Summary Score): Number missing"
Source:R/scores_nc.R
compute_nc_p_bdefs_nm.RdComputes the summary score nc_p_bdefs_nm
Barkley Deficits in Executive Functioning Scale [Parent] (EF Summary
Score): Number missing
Summarized variables:
nc_p_bdefs_001nc_p_bdefs_002nc_p_bdefs_003nc_p_bdefs_004nc_p_bdefs_005nc_p_bdefs_006nc_p_bdefs_007nc_p_bdefs_008nc_p_bdefs_009nc_p_bdefs_010nc_p_bdefs_011nc_p_bdefs_012nc_p_bdefs_013nc_p_bdefs_014nc_p_bdefs_015nc_p_bdefs_016nc_p_bdefs_017nc_p_bdefs_018nc_p_bdefs_019nc_p_bdefs_020
Arguments
- data
tbl, Dataframe containing the columns to be summarized.
- name
character, Name of the new column to be created. Default is the name in description, but users can change it.
- combine
logical, If
TRUE, the summary score will be appended to the input data frame. IfFALSE, the summary score will be returned as a separate data frame.
Examples
if (FALSE) { # \dontrun{
compute_nc_p_bdefs_nm(data) |>
select(
data,
all_of(c("nc_p_bdefs_nm", vars_nc_p_bdefs))
)
} # }