title: Save output between pipes in dplyr
body: <p>I am writing a function with several pipes. I would like to save some of the steps as .tbl or data frame before the last pipe. For instance: <code>a %&gt;% b %&gt;% c</code>, I would like to save the step <code>'c'</code>, but also want the step <code>'b'</code>.</p>
  
  <p>I know that one option is to do two pipes, but I believe that must have a better way.</p>
  
  <p><code>cars %&gt;% mutate(kmh = dist/speed) %&gt;% summary()</code></p>