Change many values with specific : <p>I have data like this:</p>

<pre><code>data.frame(text1 = c("Amazon", "Google", "other"))
</code></pre>

<p>Add I would like to replace whatever is in the list with a specific value</p>

<pre><code>mylist &lt;- c("Amazon", "Google") 
</code></pre>

<p>replace what is in the mylist with stock value</p>

<p>Expected output:</p>

<pre><code>data.frame(text1 = c("stock", "stock", "other"))
</code></pre>
