title: Correcting mis-typed data in R
body: <p>I want to correct wrongly entered data in R. For example if I have a vector </p>
  
  <pre><code>V=c('PO','PO','P0')
  </code></pre>
  
  <p>I want R to recognize that the 0 in the last entry should be a o and to change it. Is there anyway to do that? I have trying to use  correctTypos in the deducorrect package in R. However I am having some problem with the editset. I cannot seems to specify that all the entries have to be letters. Any help greatly appreciated. </p>
  
  <p>Another example would be </p>
  
  <pre><code>V2=c('PL','P1','PL','XX')
  </code></pre>
  
  <p>That 1 should be an L.</p>