R script for computing running Pythagorean expectations and game by game BaseRuns
Thought I'd provide a script for anyone interested in R programming. It's nothing fancy- just takes retrosheet game log files and computes a few statistics from them. Probably more valuable as example code for people looking to learn a very useful programming language.
Just download a "glXXXX" file from retrosheet, change the directory location in the script to reflect where it resides on your machine, and run. No warranty on this, since I just typed it up real fast. Anyway, hope it can be useful to someone.
looks like a good start. if you're interested in that kind of stuff there is a dead sports analytics package on cran you could probably adopt and attempt to collaborate with others on