This function takes in "Batting Summary" dataframe modified after splitBattingSummary and plots a player's batting average and Strike Rate against every opposition team.
Output of splitBattingSummary.
Plots a scatterplot pitting player's batting average and strike-rate against every opposition team.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.