Compute "Neighborhood Collective Efficacy [Parent]: Mean"
Source:R/scores_fc.R
compute_fc_p_nce_mean.RdComputes the summary score fc_p_nce_mean
(Neighborhood Collective Efficacy [Parent]: Mean)
Summarized variables:
fc_p_nce__cc_001fc_p_nce__cc_002fc_p_nce__cc_003fc_p_nce__cc_004fc_p_nce__cc_005fc_p_nce__isc_001fc_p_nce__isc_002fc_p_nce__isc_003fc_p_nce__isc_004fc_p_nce__isc_005
Excluded values:
777
Validation criterion: maximally 2 of 10 items missing
Notes:
The following variables are reverse coded before computing the summary score:
fc_p_nce__cc_003fc_p_nce__cc_004
The value "99" (Don't know) is recoded to "3" (Neither... nor...)
Format
vars_fc_p_nce is a character vector of all column names
used to compute summary score of fc_p_nce.
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: 2).
- 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.