View source: R/analysis_functions.R
get_winner | R Documentation |
This function returns a character vector of the usernames of the game winners
get_winner(result_column, white, black)
result_column |
A character vector in the extracted data frame called 'Result' |
white |
A character vector in the extracted data frame called 'White' for the player on white |
black |
A character vector in the extracted data frame called 'Black' for the player on black |
A character vector of the game ending for each game
## Not run: get_winner(df$Result, df$White, df$Black) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.