Garrett is the author of Hands-On Programming with R and R for Data Science from O'Reilly Media. He is a Data Scientist at RStudio and holds a Ph.D. in Statistics, but specializes in teaching. He's taught people how to use R at over 50 government agencies, small businesses, and multi-billion dollar global companies; and he's designed RStudio's training materials for R, Shiny, dplyr and more and is a frequent contributor to the RStudio blog. He wrote the popular lubridate package for R.
Learn how to write a data report quickly and effectively with the R Markdown package, and share your results with your friends, colleagues or the rest of the world. Learn how you can author your own R Markdown reports, and how to automate the reporting process so that you have your own reproducible reports. By the end of the interactive data analysis reporting tutorial, you will be able to generate reports straight from your R code, documenting your work — and its results — as an HTML, pdf, slideshow or Microsoft Word document.
Begin with a real life case study written in R code and then learn to narrate the code, adding interpretations, explanations, and descriptions with Markdown, the text syntax at the heart of R Markdown.
Weave your code and narration into a single document and then render the document to create a finished report that includes both the code and its output. Understand how to customize this process, and open the door for automated, targeted reporting.
This chapter will show you how to generate an HTML, pdf, or Microsoft Word version of your report, as well as a pdf or HTML slideshow. Discover how to customize details of the output, and how to combine R Markdown with Shiny and ggvis.
The optional video tutorial and exercises in this chapter will help you configure your personal computer to use the R Markdown package.