NFL Player Tree (Using R)

December 31, 2013

(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 their blog: You Know. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, 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.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)