O'Reilly logo
live online training icon Live Online training

Rich Documents with R Markdown

Jared Lander

This class is for people who want to communicate their analysis in a compelling and reproducible manner. You'll learn how to integrate text, R code and results into an attractive document meant to be shared with others. In addition to interactive HTML documents you'll learn how to build slideshow presentations and attractive dashboards, all with R and markdown.

What you'll learn-and how you can apply it

  • Markdown YAML Heading
  • Markdown Syntax
  • R Code Chunks
  • Code Chunk Options
  • Markdown Slideshows
  • Flexdashboards

This training course is for you because...

  • You want to easily share your analysis results with others
  • You want to document your analysis for reproducibility and learning
  • You want to create automated slideshows with R
  • You want to make compelling dashboards

Prerequisites

  • Working knowledge of the basic of R

Course Set-up - Install R and RStudio - Please follow the instructions at https://github.com/jaredlander/LearningR to properly setup your environment and download the data we will be using. - We will also be using this repo during class: https://github.com/jaredlander/LiveMarkdownAugust2018

Recommended Preparation From R for Everyone, Second Edition - Chapter 28

About your instructor

  • Jared P. Lander is the Chief Data Scientist of Lander Analytics, a data science and artificial intelligence consulting and training firm based in New York City; the organizer of the New York Open Statistical Programming Meetup—the world’s largest R meetup—–and the New York R Conference); author of R for Everyone and an adjunct professor at Columbia University. With an M.A. from Columbia University in statistics and a B.S. from Muhlenberg College in mathematics, he has experience in both academic research and industry. Very active in the data community, Jared is a frequent speaker at conferences, universities and meetups around the world. His writings on statistics can be found at jaredlander.com and his work has been featured in publications such as Forbes and the Wall Street Journal.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

  • Markdown Primer (45 minutes)
  • Structure Documents with Sections and Subsections
  • Formatting Text
  • Creating Ordered and Unordered Lists
  • Making Links
  • Number Sections
  • Include Table of Contents

  • Integrate R Code (30 minutes)

  • Insert Code Chunks
  • Hide Code
  • Set Chunk Options
  • Draw Plots
  • Speed Up Code with Caching

  • Build RMarkdown Slideshows (20 minutes)

  • Understand Slide Structure
  • Create Sections
  • Set Background Images
  • Include Speaker Notes
  • Open Slides in Speaker Mode

  • Develop Flexdashboards (30 minutes)

  • Start with the Flexdashboard Layout
  • Design Columns and Rows
  • Use Multiple Pages
  • Create Social Sharing
  • Include Code