+ - 0:00:00
Notes for current slide
Notes for next slide

Reproducible Reporting with R Markdown

1 / 19

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0

What is R Markdown?

  1. An authoring framework for data science.

  2. A document format (.Rmd).

  3. An R package named rmarkdown.

  4. A file format for making dynamic documents with R.

  5. A tool for integrating prose, code, and results.

  6. A computational document.

  7. Wizardry.

2 / 19

Replication/reproducibility crisis?



)

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0

4 / 19

How does R Markdown work?

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0 | Artwork by Desireé De Leon

5 / 19

How does R Markdown work?

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0 | Artwork by Desireé De Leon

6 / 19

What is inside?

Artwork by @allison_horst

7 / 19

What is inside?

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0 | Artwork by Desireé De Leon

8 / 19

R Markdown Tutorial

🔗 Click here to access the tutorial.

9 / 19

General advice

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0

10 / 19

General advice

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0 ✔️ Document your document: use YAML to set up meaningful metadata

11 / 19

General advice

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0 ✔️ Document your document: use YAML to set up meaningful metadata

✔️ Style your document: use YAML to add options to your chosen output format

12 / 19

General advice

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0 ✔️ Document your document: use YAML to set up meaningful metadata

✔️ Style your document: use YAML to add options to your chosen output format

✔️ Organize your text: use markdown headers with #

13 / 19

General advice

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0 ✔️ Document your document: use YAML to set up meaningful metadata

✔️ Style your document: use YAML to add options to your chosen output format

✔️ Organize your text: use markdown headers with #

✔️ Organize your code: use knitr chunk labels

14 / 19

General advice

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0 ✔️ Document your document: use YAML to set up meaningful metadata

✔️ Style your document: use YAML to add options to your chosen output format

✔️ Organize your text: use markdown headers with #

✔️ Organize your code: use knitr chunk labels

✔️ Style your text: use markdown bold, italics, bullets and lists

15 / 19

General advice

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0 ✔️ Document your document: use YAML to set up meaningful metadata

✔️ Style your document: use YAML to add options to your chosen output format

✔️ Organize your text: use markdown headers with #

✔️ Organize your code: use knitr chunk labels

✔️ Style your text: use markdown bold, italics, bullets and lists

✔️ Style your output: use knitr chunk options

16 / 19

General advice

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0 ✔️ Document your document: use YAML to set up meaningful metadata

✔️ Style your document: use YAML to add options to your chosen output format

✔️ Organize your text: use markdown headers with #

✔️ Organize your code: use knitr chunk labels

✔️ Style your text: use markdown bold, italics, bullets and lists

✔️ Style your output: use knitr chunk options

✔️ 🧶 early, 🧶 often

17 / 19

Q & A

05:00
18 / 19

That's a wrap!

Be sure to check out the
Resources page

19 / 19

Slide adapted from R Markdown for Medicine by Alison Hill, CC BY 4.0

What is R Markdown?

  1. An authoring framework for data science.

  2. A document format (.Rmd).

  3. An R package named rmarkdown.

  4. A file format for making dynamic documents with R.

  5. A tool for integrating prose, code, and results.

  6. A computational document.

  7. Wizardry.

2 / 19
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
oTile View: Overview of Slides
Esc Back to slideshow