| CLELAL09 | R Documentation |
Cleveland Cavaliers played against Los Angeles Lakers at Staples Center in LA on Dec 25, 2009 and won the game by 102:87. This data recorded the locations of players on the court and the results of the shots.
A data frame with 455 observations on the following 7 variables.
playera character vector: the current player
timea character vector: the time
perioda numeric vector: the period (1 - 4)
realxa numeric vector: the x-axis location
realya numeric vector: the y-axis location
resulta factor with levels made and
missed
teama factor with levels CLE,
LAL and OFF
We view the court with CLE in the left and LAL in the right:
realx is the distance to the left border of CLE's court, and
realy is the distance to the bottom border of the court; notice that
the size of the court is 94 \times 50 (feet).
http://www.basketballgeek.com/data/ (transformed based on the original data)
## see demo('CLEvsLAL', package = 'animation') for a `replay' of the game
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.