add_winner_data: Add Winner Data

Description Usage Arguments Details Value

View source: R/manipulate_bg_plays.R

Description

Takes a play df and adds a column of winner data.

Usage

1
add_winner_data(play_df)

Arguments

play_df

a data frame of gameplay statistics

Details

Takes a dataframe of gameplay stats as input. Finds all the winners for that game's id, and makes a list of them. Appends that list back to the original data frame.

Value

the same play_df with an appended winners column


kenosborne/bgStats documentation built on Jan. 30, 2020, 12:25 a.m.