Creates a line chart showing how a player's skill indices have changed over time.
Usage
plot_skill_progression(
player_name,
format = "t20",
skill = "all",
n_recent = NULL,
db_path = NULL
)
Arguments
- player_name
Character. Player name to look up.
- format
Character. Match format: "t20", "odi", "test".
- skill
Character. Which skill to plot: "scoring", "survival", "economy",
"strike", or "all".
- n_recent
Integer. Number of recent matches to show. If NULL, shows all.
- db_path
Character. Database path.
Examples
if (FALSE) { # \dontrun{
plot_skill_progression("Virat Kohli", format = "t20")
plot_skill_progression("Jasprit Bumrah", format = "t20", skill = "economy")
} # }