Session Ready
Exercise

Getting started

Our investigation will focus on the performance of one player: Kobe Bryant of the Los Angeles Lakers.

His performance against the Orlando Magic in the 2009 NBA finals earned him the title “Most Valuable Player” and many spectators commented on how he appeared to show a hot hand. Let's load some data from those games and look at the first several rows.

Instructions
100 XP
  • Use the function load() function with the url() function to load the data frame from http://assets.datacamp.com/course/dasi/kobe.RData.
  • Take a peek at the data (it's called kobe) using the head() and/or tail() function.