title: Add row to data frame with dplyr
body: <p>I have this sample data:</p>
  
  <pre><code>cvar &lt;- c("2015-11-01","2015-11-02","All")
  nvar1 &lt;- c(12,10,5)
  nvar2 &lt;- c(7,5,6)
  data &lt;- cbind.data.frame(cvar,nvar1,nvar2)
  </code></pre>
  
  <p>And I just want to add a new row to the data.frame containing the sums of nvar1 &amp; nvar2 and a character, so with base R I would just use</p>
  
  <pre><code>data[nrow(data)+1,] &lt;- c("add",sum(data[,2]),sum(data[,3]))
  </code></pre>
  
  <p>or something more clever with lapply, but just to show you what I'm looking for.</p>
  
  <p>I would like this simple command within the pipe environment, so data %>% ... gives me the above outcome. </p>
  
  <p>Appreciate any help, thank you.</p>