View source: R/add_variables.R
get_away_score | R Documentation |
This function extracts the away team score from a vector of scores.
get_away_score(scores)
scores |
A character vector containing scores. |
A numeric vector of the away team scores extracted from the input scores.
scores <- c("3x2", "1x0", "2x2")
get_away_score(scores)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.