R markdown document used to publish this work on rpubs.com