title: dplyr summarise_all with quantile and other functions
body: <p>I have a dataframe PatientA</p>
  
  <pre><code>    Height Weight   Age   BMI
      &lt;dbl&gt;  &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt;
   1   161    72.2    27  27.9
   2   164    61.0    21  22.8
   3   171    72.0    30  24.6
   4   169.   63.9    25  22.9
   5   174.   64.4    27  21.1
   6   160    50.9    22  19.9
   7   172    77.5    22  26.3
   8   165    54.5    22  20  
   9   173    82.4    29  27.5
  10   169    76.6    22  26.9
  </code></pre>
  
  <p>and I would like to get some statistics for each column. I have the next working code which deals only with quantiles</p>
  
  <pre><code>genStat &lt;- PatientsA  %&gt;%
    summarise_all(funs(list(quantile(., probs = c(0.25, 0.5, 0.75))))) %&gt;%
    unnest %&gt;%
    transpose %&gt;%
    setNames(., c('25%', '50%', '75%')) %&gt;%
    map_df(unlist) %&gt;%
    bind_cols(data.frame(vars = names(PatientsA)), .)
  </code></pre>
  
  <p>and I need to add mean and sd to summarise_all like this</p>
  
  <pre><code>genStat &lt;- PatientsA  %&gt;%
        summarise_all(funs(mean,sd,list(quantile(., probs = c(0.25, 0.5, 0.75))))) %&gt;%
        unnest %&gt;%
        transpose %&gt;%
        setNames(., c('mean','sd','25%', '50%', '75%')) %&gt;%
        map_df(unlist) %&gt;%
        bind_cols(data.frame(vars = names(PatientsA)), .)
  </code></pre>
  
  <p>This straightforward approach fails returning the next error:</p>
  
  <blockquote>
    <p>Error in names(object) &lt;- nm :    'names' attribute [5] must be the
    same length as the vector [3]</p>
  </blockquote>
  
  <p>I'm a newbie in R, so what is the right syntax for completing this task?</p>