Chapter 12 Notes for typesetting book
- Packages needed
devtools::install_github("dtkaplan/SDSdata")
devtools::install_github("dtkaplan/tufte")
The tufte
package has been cloned to dtkaplan
to fix a problem with the HTML tags for figures.
- At the start of each chapter, put this in the setup chunk:
library(knitr)
# for pretty printing tables
SDSdata::use_nice_table()
This will cause the table to be output in the condensed sds_table()
format.