NFL Player Tree (Using R)

December 31, 2013
By

(This article was first published on You Know, and kindly contributed to R-bloggers)

NFL Player Tree

Inspired by the soccer player tree in an earlier post, I pulled some recent National Football League player attributes from EA Sports's Madden 25 (players ranked at least 95):

I used R to do the heavy statistical lifting and used the package ggplot2 to get the nice tree plot.

Without getting into all of the nuances that I did with the soccer version, here is the NFL player tree, color-coded by position type

By Position Type:  Quick takeaways:
  1. Andy Lee is a punter with similar attributes to top quarterbacks
  2. Cameron Wake is a lineman who may be better as a linebacker
  3. Offensive lineman are the most opposite to the skill players
  4. The tree has three major branches (generalized as follows):
    1. Skill players
    2. Defensive backs/Linebackers
    3. Offensive line




To leave a comment for the author, please follow the link and comment on his blog: You Know.

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, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.