Fix minor typos in R markdown file and add HTML output