In this chapter, we learned how to create R Markdown documents and presentations. At the beginning of the chapter, we familiarized ourselves with the basics of the concept of reproducible research and how to accomplish this approach with R Markdown and the RStudio IDE. This includes setting up R Markdown and installing all the requisite packages.
We continued by studying the R Markdown interface in the RStudio IDE, and got to know all the relevant functions and how to use them. In addition to writing Markdown and integrating R code correctly, we also learned about the different output formats such as HTML, PDF, and Word. We are now able to create advanced R Markdown documents and presentations.
In the next chapter, we will focus our attention on ways to visualize our data with R, RStudio, and relevant graphical packages. For this purpose, we will dedicate ourselves mainly to the the ggplot2
and ggvis
packages after the introduction of the base graphics system, Lattice. We will also take a look at innovative libraries to create interactive data visualizations.