title: Print summary of results to stdout in R
body: <p>I've come up against a wall, and believe I am missing something quite simple.</p>
  
  <p>I have a list that contains results from multiple wilcoxon tests (with Bonferroni corrections) and would like to produce a similar-looking table to the output of the Dunnett's test using <code>multcomp</code> (i.e., with no row numbers showing up and nicely spaced).</p>
  
  <p><img src="https://i.stack.imgur.com/9zbiX.png" alt="Example Table"></p>
  
  <p>When I print it as a dataframe, the row numbers show up and the text values in the columns are right-justified.</p>
  
  <p>The list is created by:</p>
  
  <blockquote>
  <pre><code>for (i in 2:length(split.set)) {
    wrs.mod &lt;- suppressWarnings(wilcox.test(split.set[[1]]$VALUE, split.set[[i]]$VALUE))
    stn.results[i - 1] &lt;- as.character(unique(split.set[[i]]$TREATMENT))
    stat.results[i - 1] &lt;- as.numeric(wrs.mod$statistic)
    p.results[i - 1] &lt;- signif(wrs.mod$p.value, 3)
    if (wrs.mod$p.value &lt; 0.05/(length(split.set) - 1)) sig.results[i - 1] &lt;- "*" else sig.results[i - 1] &lt;- NA
  }
  wrs.results &lt;- list(Treatment = stn.results, Statistic = stat.results, p = p.results, Significant = sig.results)
  </code></pre>
  </blockquote>
  
  <p>How do I format this into a decent looking table for printing?</p>