title: R Identifing text string within column of dataframe
body: <p>One column of my data frame has words and phrases.  I am trying to create a dummy variable for those fields within this column that have specific strings of text anywhere within.</p>
  
  <p>For example:</p>
  
  <ul>
  <li>kite</li>
  <li>cars</li>
  <li>box kites</li>
  <li>model cars</li>
  <li>i like kites that fly</li>
  <li><p>cars of the world</p>
  
  <pre><code> myvector&lt;-c("kite","cars","box kites","model cars","i like kites that fly",
   "cars of the world")
  </code></pre></li>
  </ul>
  
  <p>I would want to identify all the fields with the string "kite"</p>
  
  <p>I've tried a few things such as <code>any()</code>, <code>which()</code> and <code>%in%</code> but nothing has worked so far.</p>
  
  <p>Any help greatly appreciated</p>