R mark-down and write-up for course assignment project