Good day everyone in the house, please I need someone to help me on how I can reshape a single polytomous responses dataset in a long form where we can a single polytomous response variable y, and two index variables, item and id, fvset=1. The sample of the dataset is displayed.
Code:
 
Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10
2 1 1 2 1 1 4 1 3
3 2 1 2 1 4 1 1 1 3
2 1 1 2 1 4 3 4 1 3
3 2 1 4 1 1 2 1 1 3
3 3 1 2 1 4 3 3 2 2
4 2 1 2 1 4 1 1 3
3 2 1 2 1 1 1 1 2 3
3 3 1 4 1 4 2 1 3 3
3 2 1 4 1 1 1 1 1 4