Compute "Cohort description: Ethno-racial identity (15 level classification from fc_p_meim_001) [Based on baseline response; missingness filled in from longitudinal responses]"
Source:R/scores_ab.R
compute_ab_g_stc__cohort_ethnrace__meim.Rd
Computes the summary score ab_g_stc__cohort_ethnrace__meim
Cohort description: Ethno-racial identity (15 level classification from
fc_p_meim_001) [Based on baseline response; missingness filled in from
longitudinal responses]
Summarized variables:
fc_p_meim_001
Usage
vars_ab_g_stc__cohort_ethnrace__meim
compute_ab_g_stc__cohort_ethnrace__meim(
data,
name = "ab_g_stc__cohort_ethnrace__meim",
combine = TRUE
)
Format
a character vector of all
column names used to compute summary score of
ab_g_stc__cohort_ethnrace__meim
.
Arguments
- data
tbl. Data frame 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 for each participant will be returned as a separate data frame. (Default: FALSE)