Compute "Values Scale [Youth] (Familism): Number missing - Version 1 (Year 5 onwards)"
Source:R/scores_fc.R
compute_fc_y_vs__famil_nm__v01.RdComputes the summary score fc_y_vs__famil_nm__v01
(Values Scale [Youth] (Familism): Number missing - Version 1
(Year 5 onwards))
Summarized variables:
fc_y_vs__supp_001fc_y_vs__supp_002fc_y_vs__supp_003fc_y_vs__supp_004fc_y_vs__supp_005fc_y_vs__supp_006fc_y_vs__ref_001fc_y_vs__ref_002fc_y_vs__ref_003fc_y_vs__ref_004fc_y_vs__ref_005
Excluded values:
777
999
Usage
compute_fc_y_vs__famil_nm__v01(
data,
name = "fc_y_vs__famil_nm__v01",
exclude = c("777", "999"),
combine = TRUE
)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.
- exclude
character vector. Values to be excluded from the summary score calculation.
- 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.