(This article was first published on datum » R, and kindly contributed to R-bloggers)
Below is a chart of the top 20 offensive players based on FanGraphs WAR for the 2011 season. The various features and their corresponding metric are clear in the image. I’ve also included the leader and last place for each metric to get an idea of what the extremes would look like as it’s all normalized. For example Jose Reyes’s 7 Home Runs this season gives him a very narrow face as compared to Jose Bautista’s double wide. (This is highly derivative and I’m painfully aware of this but I really wanted to play with the Chernoff faces function available in the aplpack R library. )
To leave a comment for the author, please follow the link and comment on his blog: datum » R.
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series,ecdf, trading) and more...


Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).