-
Notifications
You must be signed in to change notification settings - Fork 19
/
kobe_basket.R
23 lines (23 loc) 路 974 Bytes
/
kobe_basket.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#' Kobe Bryant basketball performance
#'
#' Data from the five games the Los Angeles Lakers played against the Orlando
#' Magic in the 2009 NBA finals.
#'
#' Each row represents a shot Kobe Bryant took during the five games of the
#' 2009 NBA finals. Kobe Bryant's performance earned him the title of Most
#' Valuable Player and many spectators commented on how he appeared to show
#' a hot hand.
#'
#' @format A data frame with 133 rows and 6 variables:
#' \describe{
#' \item{vs}{A categorical vector, ORL if the Los Angeles Lakers played
#' against Orlando}
#' \item{game}{A numerical vector, game in the 2009 NBA finals}
#' \item{quarter}{A categorical vector, quarter in the game, OT stands for
#' overtime}
#' \item{time}{A character vector, time at which Kobe took a shot}
#' \item{description}{A character vector, description of the shot}
#' \item{shot}{A categorical vector, H if the shot was a hit, M if the shot
#' was a miss}
#' }
"kobe_basket"