From the course: Creating Reports and Presentations with R Markdown and RStudio

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Splitting documents into sections or slides in R Markdown

Splitting documents into sections or slides in R Markdown - RStudio Tutorial

From the course: Creating Reports and Presentations with R Markdown and RStudio

Start my 1-month free trial

Splitting documents into sections or slides in R Markdown

- [Instructor] When writing reports and presentations in R Markdown, it's important to break your copy into sections and subsections, and of course into slides, so that your audience can understand the structure of your work. In R Markdown, sections and slides are delimited by Markdown headings. Headings work slightly differently between reports and presentations. In both documents, hash, or #, is used to signify headings. In reports, there are six levels of headings and subheadings, whereas with slides, or presentations, the highest level of headings in the document deliminate slides, and all subheadings are displayed on the same slide. Let's look at some examples in the exercise materials. So let's navigate to 03_06, and open our RStudio project. I want to start with our report first, so I'll open bechdel-report.Rmd. I want to focus on the R Markdown document here, so let's do that by pressing ctrl + shift + 1, and I'll scroll to the top of our document. Okay, so we're interested…

Contents