Site icon R-bloggers

NFL Player Tree (Using R)

[This article was first published on You Know, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.