Working through "An Introduction to Statistical Learning" R examples