Computes the summary score fc_y_lone_mean
(UCLA Loneliness Scale [Youth]: Mean)
Summarized variables:
fc_y_lone_001fc_y_lone_002fc_y_lone_003fc_y_lone_004fc_y_lone_005fc_y_lone_006fc_y_lone_007
Excluded values:
777
999
Validation criterion: maximally 1 of 7 items missing
Usage
vars_fc_y_lone
compute_fc_y_lone_mean(
data,
name = "fc_y_lone_mean",
max_na = 1,
combine = TRUE
)Format
vars_fc_y_lone is a character vector of all column names
used to compute summary score of fc_y_lone.
Arguments
- data
tbl. Data frame containing the columns to be summarized.
- name
character. Name of the summary score. Default is the name in the description.
- max_na
numeric, positive whole number. Number of missing items allowed (Default: 1).
- combine
logical. If
TRUE, the summary score is appended to the input data frame. IfFALSE, the summary score is returned as a separate data frame. Default isTRUE.