update Rmd file

first substantial code and descriptive chunks added to Rmd file, plus
adding generated html file