Corrected Rmd file