parse_player_turn: Parses an entire player turn from a 'bb2_replay' object

Description Usage Arguments Value

View source: R/player_turn.R

Description

Parses an entire player turn from a bb2_replay object

Usage

1
parse_player_turn(replay, team = c("home", "away"), turn = 0)

Arguments

replay

A bb2_replay object

team

Which team to work on. Must be either "home" or "away"

turn

Game turn to extract. Must be a valid turn number for the replay

Value

A player_turn object


nufflytics/nufflytics documentation built on Oct. 10, 2020, 5:27 p.m.