How to reproduce?

  • Download data
  • Open the *.Rmd file in RStudio.
  • Optionally change functions and arguments.
  • Knit the document to see the results.