Updated Rmd file