reversed function

Reverse the codes of a survey item or the levels of a factor