Now in its second edition, R by Example is an example-based introduction to the statistical computing environment that does not assume any previous familiarity with R or other software packages.
Presents a collection of case studies and exercises applying statistical and probabilistic thinking to the game of baseball. The book illustrates basic methods of data analysis and probability models by means of baseball statistics collected on players and teams.