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:50]
Olivier Simard-Casanova [Change PDF's langage]
economics:r:rmarkdown [2019/05/15 14:56]
Olivier Simard-Casanova [Tables]
Line 24: Line 24:
 title: "Titre du document"​ title: "Titre du document"​
 </​code>​ </​code>​
 +
 +You can find the right language code [here](https://​www.andiamo.co.uk/​resources/​iso-language-codes/​).
  
 ## Combine different files together ## Combine different files together
Line 60: 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/​).