mara
March 24, 2018, 10:36pm
3
There are a few threads here that cover a bunch of the nice (and plentiful) R Markdown table-formatting packages here on the site you might want to take a look at:
When I am generating output from an R Markdown document, I often want to output a table of numbers.
The suggestions for formatting tables in the Markdown cheatsheet all seem to be geared at model-output or statistical result-type tables. That's not what I need.
What I am looking for is a "presentation-friendly" table. More of a business application.
Something that makes it easy to define the format of each column (decimal places, commas, % signs, date formats, etc.) and that lets me define the borders (existence, size, colour) and shading of the tables and its cells. And the width of the table.
A typical example would be a table with 4 columns: Year/Quarter, Count, Amount, Percentage Cha…
Hello,
I was kindly given a link by @martin.R for layouts. I downloaded the stargazer package (the name sounded coolest).
http://rmarkdown.rstudio.com/lesson-7.html
but it turns out I can not figure out how to use it and I was wondering which of the packages (xtable, stargazer, pander, tables, ascii) you would recommend and that are easy to use?
I tried the knitr kable function but it seemed a bit limiting (not look very exciting layoutsl), or maybe I am not understanding it correctly.
As an example I am trying to make my data below more presentable in markdown.
Thanks in advance!
Christine
reprex::reprex_info()
#> Created by the reprex package v0.1.1.9000 on 2017-11-16
Jobsatisfact…
1 Like