title: Magrittr two way pipe and multiple conditions?
body: <p>I'm recycling an answer from someone else's question but could someone tell me if the approach below can be used to meet multiple conditions before making the change? </p>
  
  <pre><code>library(dplyr)
  library(magrittr)
  
  df[df$tag=="ggyg",] %&lt;&gt;% mutate(tag="xxx")
  </code></pre>
  
  <p>I tried this but it isn't working. </p>
  
  <pre><code> df[df$tag=="ggyg",] %&lt;&gt;%  df[df$h.tank==2,] %&lt;&gt;% mutate(tag="xxx")
  </code></pre>
  
  <p>I'm trying to use the approach above as it would save a lot of time instead of using ifelse statements to meet conditions.</p>
  
  <p>Thanks!</p>