View source: R/teamBowlersWicketsOppnAllMatches.R
teamBowlersWicketsOppnAllMatches | R Documentation |
This function computes performance of bowlers of a team and the wickets taken against an opposition in all matches against the opposition
teamBowlersWicketsOppnAllMatches(matches,main,opposition,plot=1,top=20)
matches |
The data frame of all matches between a team the opposition. This dataframe can be obtained with matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data") |
main |
The team for which the performance is required |
opposition |
The opposing team |
plot |
plot=1 (static),plot=2(interactive),plot=3(table) |
top |
The number of top bowlers to be included in the result |
None or dataframe The return depends on the value of the plot
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
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersWicketRunsOppnAllMatches
## Not run:
# Get all matches between India and Australia
matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data")
#Display top 20
teamBowlersWicketsOppnAllMatches(matches,"India","Australia")
#Display and plot top 10
teamBowlersWicketsOppnAllMatches(matches,"Australia","India",top=10)
#Do not plot but return as dataframe
teamBowlersWicketsOppnAllMatches(matches,"India","Australia",plot=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.