Get sum of a questionnaire subscale

sub_sum_quest(qn, qnb, df)

Arguments

qn

Name of the questionnaire

qnb

Index of the items to include

df

Data frame containing all the column names of the questionnaire data

Value

Sum of the specified questionnaire items