Final rmd file