Analyzing Baseball Data with R, Second Edition (Chapman & Hall/CRC The R Ser… You will find that this textbook is packed with examples that clarify tough ideas.