Code examples to accompany the book "R for Dummies"