Compute "Family History [Parent] (Drug Use) Endorsed: Either parent"
Source:R/scores_mh_famhx.R
compute_mh_p_famhx__drg__moth__fath_indicator.RdComputes the summary score mh_p_famhx__drg__moth__fath_indicator
(Family History [Parent] (Drug Use) Endorsed: Either parent)
Notes:
Following values are recoded as NA prior to any computation
777
888
999
Following logic is applied to compute the score:
father endorsed
yesOR mother endorsedyes=1father endorsed
noAND mother endorsedno=0all other cases set to
NA
Usage
vars_mh_p_famhx__drg__moth__fath_indicator
compute_mh_p_famhx__drg__moth__fath_indicator(
data,
name = "mh_p_famhx__drg__moth__fath_indicator",
combine = TRUE
)Format
a character vector of base name of the check boxes used to compute
mh_p_famhx__drg__moth__fath_indicator.