Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
economics:r:rmarkdown [2019/02/27 10:52]
Olivier Simard-Casanova [Change the language of the PDF output]
economics:r:rmarkdown [2019/05/15 14:56]
Olivier Simard-Casanova [Tables]
Line 62: Line 62:
  
 The specific formatting of the date can be adjusted in the second part of `format()` (see https://​www.statmethods.net/​input/​dates.html). The specific formatting of the date can be adjusted in the second part of `format()` (see https://​www.statmethods.net/​input/​dates.html).
 +
 +## Tables
 +
 +To print nice tables, use the `kable` function offered by `knitr`:
 +
 +<​code:​r>​
 +kable(df)
 +</​code>​
 +
 +Also: `formattable` (https://​renkun-ken.github.io/​formattable/​).