6.5 Tables
You can use thekable() function from theknitr package to format tables that integrate well with the rest of the Tufte handout style. The table captions are placed in the margin like figures in the HTML output. A simple example (Figure6.5 shows the output):
```{r}knitr::kable( mtcars[1:6, 1:6], caption = 'A subset of mtcars.')```
FIGURE 6.5: A table in the Tufte style.