R/primary-coding.R
    calculate_6ils_total.RdCalculate sum score of 6 ILS
calculate_6ils_total(
  six_ils1,
  six_ils2,
  six_ils3,
  six_ils4,
  six_ils5,
  six_ils6
)vector for item "I miss having a really close friend."
vector for item "There are plenty of people I can lean on when I have problems ."
vector for item "There are many people I can trust completely."
vector for item "I miss the pleasure of the company of others."
vector for item "There are enough people I feel close to."
vector for item "'I often feel rejected."
Items 1, 4 and 6 need to be recoded first
A numeric vector with sum score of 6 ILS