Learn R Programming

nbastatR (version 0.1.110202031)

get_games_pbp_win_probablity: NBA games win probabilities

Description

Gets nba in-game win probabilities for specified 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

a `data_frame`

See Also

Other game: get_game_logs, get_games_box_scores, get_games_fanduel_summary

Other season: get_games_fanduel_summary

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