Giter Site home page Giter Site logo

analyzing_baseball_r_exercises's Introduction

Analyzing Baseball Data With R Exercises

The Book

Analyzing Baseball Data With R

By: Max Marchi and Jim Albert, CRC Press

Analyzing Baseball Data With R is an excellent book to learn R in a baseball context using RStudio.

R Bloggers Review

Amazon

Description

The book provides exercises at the end of every chapter. This repository contains R scripts used in each exercise and necessary data files to be used. The information here will be updated to record completion of the exercises. These will be helpful if one becomes confused or stuck when trying to answer the problems. Also, in regards to the data used, it will be as up to date as possible.

##Organization of Files

There are four different folders contained in the master branch. These will have everything you need and some extra material that can help you.

Scripts Folder

This folder contains all the R script files of the exercises. The scripts are labled according to the associated exercise. An example of a file name is:

  • Exercise 3-6.R

This corresponds to Exercise 6 of Chapter 3. The scripts can be opened into Rstudio. They can be used a reference or sourced if one wants to see what the exercise completed looks like.

Data Folder

This folder contains all the csv files that will be used to answer the end of chapter exercises.

Graphics

This folder contains the differnt scatterplots, bar graphs, strike zones, etc that will be created in the exercises. The graphics are labled according to exercise and graph type. An example is:

  • Exercise 3-5 Scatterplot.png
R Data

This contains the R data of completed exercises or chapters. It can be opened directly into Rstudio.

Acknowledgements

Analyzing Baseball Data With R

Sean Lehman's Baseball Archive http://www.seanlahman.com/baseball-archive/statistics/

Retrosheet http://www.retrosheet.org/#

analyzing_baseball_r_exercises's People

Contributors

iamcolonelreb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.