Hello,
I am new to R studio and

I am trying to calculate score from questionnaire for each participant (20 in total). The score needs to be divided into three subscales and some of the questions are reversed. I tried to calculate z-scores first however, I have never done this before and keep receiving errors. Can anyone advise me how to do this, please?