Description
In this course, you will :
- demonstrates how to use R Markdown and RStudio, the authoring framework designed specifically for data science, to create high-quality reports and presentations, including interactive web experiences and printable PDFs.
- begins with a description of the PDF and HTML reporting options.
- demonstrates how to incorporate R code into your documents while also adding visual interest with slides, charts, images, and tables.
- Learn how to use htmlwidgets to customise your document's styles, override markdown, and insert prebuilt data visualisations.
- explains how to make your R Markdown documents available for sharing and distribution.
Syllabus :
1. What Can You Build with R Markdown?
- What is Markdown?
- What is R Markdown?
- Writing PDF reports in R Markdown
- Writing HTML reports in R Markdown
- Writing HTML presentations in R Markdown
- What else can you build with R Markdown?
2. Setting Up LaTeX for R Markdown PDF Outputs
- What are LaTeX and BibTeX?
- Setting up TeX for generating R Markdown reports
- Installing Pandoc
3. Understanding the Basics of R Markdown Documents
- Installing R Markdown
- R Markdown, knitting, and generating outputs
- The YAML header of an .Rmd file
- Code chunks and global code chunk settings
- Writing and running R code in R Markdown files
- Splitting documents into sections or slides in R Markdown
- Tabbed sections in R Markdown HTML reports
- Formatting text in R Markdown files
- Bullets and lists in R Markdown
4. Preventing Gotchas
- Name your code chunks sensibly
- Including code from script files
5. Creating Slides in R Markdown
- What are Slidy, ioslides, and Beamer?
- Features of ioslides presentations
- Features of Slidy presentations
- PDF presentations with Beamer
6. Using ggplot2 Charts in R Markdown
- ggplot2 and plots in R Markdown documents
- Globally set figure size
- Change the size of individual outputs
7. Inserting Images into R Markdown Output
- Inserting images with include_graphics()
- Inserting images using raw HTML
- Inserting images using raw LaTeX
- Inserting URL based images using raw LaTeX
8. Inserting Tables into R Markdown Output
- Displaying tables in R Markdown
- Markdown tables in .Rmd
- Formatting printed data.frames and Tibbles
- Formatting tables with kable()
- Interactive tables with DT
9. Captions with bookdown
- Captions in R Markdown
- Captions with bookdown
10. Customizing Styles in R Markdown
- Using custom styles in R Markdown
- Styling HTML reports in R Markdown
- Styling PDF reports in R Markdown
11. Overriding Markdown in .Rmd
- Overriding Markdown in .Rmd files
- Display LaTeX or HTML in .Rmd files
- Run LaTeX in PDF documents
- Run HTML in R Markdown
12. htmlwidgets and R Markdown
- htmlwidgets and R Markdown
- htmlwidgets in PDF .Rmd documents
- htmlwidgets in HTML .Rmd documents
13. Publishing R Markdown HTML Content to RPubs.com
- Publishing with RPubs.com
- Publishing R Markdown HTML to the web