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 - RStudio Tutorial
From the course: Creating Reports and Presentations with R Markdown and RStudio
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Installing R Markdown1m 41s
-
R Markdown, knitting, and generating outputs4m 13s
-
(Locked)
The YAML header of an .Rmd file3m 29s
-
(Locked)
Code chunks and global code chunk settings4m 8s
-
(Locked)
Writing and running R code in R Markdown files5m 45s
-
(Locked)
Splitting documents into sections or slides in R Markdown4m 21s
-
(Locked)
Tabbed sections in R Markdown HTML reports2m 22s
-
(Locked)
Formatting text in R Markdown files4m 5s
-
(Locked)
Bullets and lists in R Markdown2m 51s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-