Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205793

How to replace a variable without interfere with the variable just being transformed?

$
0
0

enter image description here

I have a survey data as shown in this screenshot, some of the items are revised graded, therefore I need to replace the revised graded item's value: 1 to 5, 2 to 4 However, after changing 1 to 5, I cannot replace 5 to 1 because it will interfere with the variables that I just transformed. Does any know how to manage that? Thank you!


Viewing all articles
Browse latest Browse all 205793

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>