updated coding parts in the final rmd file
updated rmd