using r for introductory statistics