Learn R Programming

nbastatR (version 0.1.11011)

get_games_pbp_win_probablity: Get Win Probabilities for NBA Game IDs

Description

Get Win Probabilities for NBA Game IDs

Usage

get_games_pbp_win_probablity(game_ids = c(21700002, 21700003),
  nest_data = FALSE, filter_non_plays = FALSE, return_message = TRUE)

Arguments

game_ids

vector of game ids

nest_data

if TRUE nests data

filter_non_plays

if TRUE filters out non plays

return_message

if T returns message

Value

a data_frame

Examples

Run this code
# NOT RUN {
get_games_pbp_win_probablity(game_ids = c(21700002, 21700005), filter_non_plays = T, nest_data = FALSE, return_message = TRUE)
# }

Run the code above in your browser using DataLab