1. Learn
  2. /
  3. Courses
  4. /
  5. Reporting with R Markdown

Exercise

Setting chunk options locally

When creating a report, you may want to set the chunk options locally so that the figure display in the final report varies. The investment_annual_summary data provides helpful background information, but the focus of the report is on projects in Brazil. In this exercise, you'll modify the chunk options locally so that the plots that display information about projects in Brazil appear slightly larger in the final report than the plot that provides the overview of the Investment Annual Summary data.

Instructions

100 XP
  • Add to the investment-annual-summary chunk so that the output dimensions of the resulting figure is 85%.
  • Add to the brazil-investment-projects and brazil-investment-projects-2018 chunks so that the output dimensions of the figures are 95%.