title: Replacing data values based on grep result in R
body: <p>I have a data frame. One of the columns has values like:</p>
  
  <blockquote>
    <p>WIND<br>
    WINDS<br>
    HIGH WIND<br>
    etc</p>
  </blockquote>
  
  <p>among the other values. Now I want to rename every value that has some variation of "WIND" in it, with "WIND". I know how to find values that I need to replace:</p>
  
  <pre><code>grep("WIND", df$col1)
  </code></pre>
  
  <p>but not how to replace those values. Thanks.</p>