I am analysing SPSS data in R. Answer alternatives in the SPSS do not come as a sequence on numbers like 1, 2, 3, 4, 5, 6, 7, but for example 1,2,3,98 or 1,2,98. There are also questions that go to 10. So last alternative is almost always 98. How can I change it to be a sequence of integers and not miss answer text?
Not sure what I should try, since it's different number of answer alternatives. Otherwise I would try to make all 98s to NA and then to 3 or 11.