A guide to authoring books with R Markdown, including how to generate figures and tables, and insert cross-references, citations, HTML widgets, and Shiny apps in R Markdown. The book can be exported to HTML, PDF, and e-books (e.g. EPUB). The book style is customizable. You can easily write and preview the book in RStudio IDE or other editors, and host the book wherever you want (e.g. bookdown.org).
Useful Commands that Work with Specifications
\textbf<>{}
controls when to
bold text
\only<>{}
controls when to
reveal text, occu-
pies NO space oth-
erwise
\textit<>{}
controls when to
italicize text
\uncover<>{}
controls when to
reveal text, DOES
occupy space oth-
erwise
\color<>[]{}
controls when to
change color of
text
\alt<>{}{}
reveals first argu-
ment when specifi-
cation is true, oth-
erwise reveals sec-
ond argument
\alert<>{}
controls when to
highlight text (de-
fault red)
\item<>
controls when an
item is shown