View source: R/teamBowlersVsBatsmenAllOppnAllMatchesPlot.R
teamBowlersVsBatsmenAllOppnAllMatchesPlot | R Documentation |
This function computes performance of bowlers of a team against all opposition in all matches
teamBowlersVsBatsmenAllOppnAllMatchesPlot(bowlerDF,t1,t2,plot=1)
bowlerDF |
The data frame of the bowler whose performance is required |
t1 |
The team against to which the player belong |
t2 |
The opposing team |
plot |
plot=1 (static),plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesRept
## Not run:
# Get all matches between India and all oppostions
matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE)
#Get the details of the bowler with the specified rank as a dataframe
df <- teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=1)
#Plot this
teamBowlersVsBatsmenAllOppnAllMatchesPlot(df,"India","India")
df <- teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="England",rank=1)
teamBowlersVsBatsmenAllOppnAllMatchesPlot(df,"India","England")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.