Compute "Family History [Parent] (Alcohol) Endorsed: Parents overall"
Source:R/scores_mh_famhx.R
compute_mh_p_famhx__alc__moth__fath_score.RdComputes the summary score mh_p_famhx__alc__moth__fath_score
(Family History [Parent] (Alcohol) Endorsed: Parents overall)
Notes:
Following values are recoded as NA prior to any computation
777
888
999
Following logic is applied to compute the score:
father endorsed
noAND mother endorsedno=0father endorsed
yesAND mother endorsedno=1father endorsed
noAND mother endorsedyes=2father endorsed
yesAND mother endorsedyes=3father endorsed
NAAND mother endorsedyes=4father endorsed
yesAND mother endorsedNA=5all other cases set to
NA
Usage
vars_mh_p_famhx__alc__moth__fath_score
compute_mh_p_famhx__alc__moth__fath_score(
data,
name = "mh_p_famhx__alc__moth__fath_score",
combine = TRUE
)Format
a character vector of base name of the check boxes used to compute
mh_p_famhx__alc__moth__fath_score.