Introduction

Check out first-look.Rmd.

0.4 Formative assessments

  1. Identify the basic anatomy of an R Markdown document.
    • Which part is the YAML?
    • Which part(s) are text written in Markdown?
    • Which part(s) are R code?
  2. Knit an R Markdown document to HTML.
    • Which part(s) are output? (answer: all plots, printed output)
    • How can we control what the code and/or output look like?
  3. Add headers in an R Markdown document to improve organization and usability of your text.
    • How do we add headers in Markdown? (answer: # symbols, up to 6)
    • What features of the IDE can you leverage when you do that?
  4. Add names to code chunks to improve organization and usability of your R code.
    • How do we add chunk names? (answer: knitr)
    • What features of the IDE can you leverage when you do that?
  5. Change output options for a given output format.
    • How do we change output options? (answer: YAML)
    • How do we add an output option like toc to the HTML format?