Summary
In this chapter, we introduced R Markdown, a flexible, transparent, and consistent report-generation tool. We started by going over the fundamentals of R Markdown, including the basic building blocks such as YAML headers and code chunks, followed by text formatting techniques.
Next, we covered a case study using Google’s stock data. After downloading the stock data from the web, we generated a report to summarize the statistics of the daily closing price, added plots and tables to the report, performed data processing, and displayed the results with different styling options. We also explored a few different ways to configure a code chunk.
Lastly, we discussed how to customize the R Markdown reports. The topics we covered included adding a table of contents to the report, creating repetitive reports using parameters in the YAML header, and changing the visual style of the report by editing the visual properties of different components using CSS.
With the next...