title: Create new column based on 4 values in another column
body: <p>I want to create a new column based on 4 values in another column.</p>
  
  <pre><code>if col1=1 then col2= G;
  if col1=2 then col2=H;
  if col1=3 then col2=J;
  if col1=4 then col2=K.
  </code></pre>
  
  <p>HOW DO I DO THIS IN R?
  Please I need someone to help address this. I have tried if/else and ifelse but none seems to be working. Thanks</p>