Completed Rmd file