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?
A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need.
Going from memory, I think William Revelle's psych package should be of help.