I am trying to create R syntax for the PID-5. Would anyone be able to help me translate this SPSS syntax to R? Any help is greatly appreciated. Thank you!
COMPUTE PIDanx=SUM.3(pid24, pid36, pid48, pid78)/4.
Could not find any syntax on this issue.
New contributor
Sophie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.