title: Replace multiple values in r
body: <p>I want to replace multiple values in a column. Suppose you have a column called 'var1' in dataframe.</p>
  <pre><code>testing &lt;- data.frame(var1 = c(LETTERS[1:5], 
                                 'Payments12',
                                 'Balance',
                                 'Default',
                                 'Currentterm',
                                 'Interest',
                                 'Original.Valuation1',
                                 'REV_Capped',
                                 'Amount',
                                 'NoofHoliday'))
  </code></pre>
  <p>I want to replace Left hand side with Right hand side. If any value is not found, it should be unchanged (as it is).</p>
  <pre><code>c('Payments12' = 'No. of Payments in 12 Months')
  c('Balance' = 'Current Balance Bands')
  c('Default' = 'Default (&gt;=3 Months)')
  c('Currentterm' = 'Current Term')
  c('Interest' = 'Interest Rate')
  c('Original.Valuation1' = 'Original Valuation')
  c('REV_Capped' = 'REV Capped')
  c('Amount' = 'Payment received in 12 Months')
  c('NoofHoliday' = 'No of Months Holiday')
  </code></pre>