finalized version of files

complete .R script, HTML & .Rmd