Saskia A. Otto
modified from the R Markdown cheat sheet (under CC-BY-SA license)
source: rmarkdown.rstudio.com (RStudio is a trademark of Rstudio, Inc.)
source: Donovan, T., Brown, M., & Katz, J. (2015). Vermont Cooperative Fish and Wildlife Research Unit R Projects: R for Fledglings.
Retrieved from https://www.uvm.edu/rsenr/vtcfwru/R/fledglings/08_Markdown.html
(under CC-BY-NC-ND 4.0 license)
Cheat sheet is freely available at
Start your first R Markdown file that should render a html document and save it under any name.
In lecture 8 on visualizations you were asked to answer the following questions using the
hydro dataset (file "data/1111473b.csv"):
If you have done this exercise you can simply use your code and copy and paste it into the code chunks of your .Rmd file. If you haven't done the exercise you have now the opportunity to make up leeway.
Photo by NASA (ID ISS040-E-12110), accessed here
Practice on the exercise data and go through the suggested info material.
Once your done, change in the YAML header the output format to e.g. PDF and knit your .Rmd file again. How do you like that output? Play around with all the options and output formats that R Markdown provides. Convert any of your R scripts you wrote so far into an .Rmd file
Then go grab a coffee, lean back and enjoy the rest of the day...!
For more information contact me: firstname.lastname@example.org
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License except for the
borrowed and mentioned with proper source: statements.
Image on title and end slide: Section of an infrared satallite image showing the Larsen C ice shelf on the Antarctic
Peninsula - USGS/NASA Landsat: A Crack of Light in the Polar Dark, Landsat 8 - TIRS, June 17, 2017
(under CC0 license)