1. Learn
  2. /
  3. Courses
  4. /
  5. Communicating with Data in the Tidyverse

Exercise

Add auxiliary images

Sometimes you also want to display external images in your RMarkdown report, i.e. plots that are not generated within your R code chunks. There's a solution for this.

Instructions

100 XP
  • Using Markdown syntax, insert the plot you produced in the second chapter in the appropriate section at the end of the report (on line 142). The link for the image is below (double click on the text to select it).

    • http://s3.amazonaws.com/assets.datacamp.com/production/course_5807/datasets/relationship.png
    • If you can't remember the syntax, best re-watch the video.
  • Use The relationship between weekly working hours and hourly compensation as the image caption.