title: Recode numeric values in R
body: <p>I want to recode some numeric values into different numeric values and have had a go using the following code:</p>
  
  <p><code>survey$KY27PHYc &lt;- revalue(survey$KY27PHY1, c(5=3, 4=2,3=2,2=1,1=1))</code></p>
  
  <p>I get the following error: </p>
  
  <pre><code>## Error: unexpected '=' in "survey$KY27PHYc &lt;- revalue(survey$KY27PHY1, c(5="
  </code></pre>
  
  <p>Where am I going wrong?</p>