title: Replacing multiple variables
body: <p>I have a data frame which has 800 observations having repeated values of -1 , -0.9 and 2.
  I would like to replace all values of -1 with 2, -0.9 with 1 and 2 with 3.
  How do i write this as a code in R ?
  Thanks in advance </p>