View source: R/analysis_functions.R
return_num_moves | R Documentation |
This function returns the number of moves played in each game. The function accepts a vector of chess Moves data in PGN notation, usually called 'Moves'
return_num_moves(moves_string)
moves_string |
A character vector of chess Moves data in PGN notation usually called 'Moves' in extracted data |
A numeric vector of the number of moves in each game
## Not run: return_num_moves(moves_string = df$Moves) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.