View source: R/teamBowlersVsBatsmenOppnAllMatches.R
teamBowlersVsBatsmenOppnAllMatches | R Documentation |
This function computes performance of bowlers of a team against an opposition in all matches against the opposition
teamBowlersVsBatsmenOppnAllMatches(matches,main,opposition,plot=1,top=5)
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 main team against which the performance is requires |
opposition |
The opposition team against which the performance is require |
plot |
plot=1 (static),plot=2(interactive),plot=3(table) |
top |
The number of rows to be returned. 5 by default |
dataframe The dataframe with all performances
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
teamBowlersVsBatsmenAllOppnAllMatchesPlot
## Not run:
# Get all matches between India and Australia
matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data")
# Plot the performance of top 5 Indian bowlers against Australia
teamBowlersVsBatsmanOppnAllMatches(matches,'India',"Australia",top=5)
# Plot the performance of top 3 Australian bowlers against India
teamBowlersVsBatsmenOppnAllMatches(matches,"Australia","India",top=3)
# Get the top 5 bowlers of Australia. Do not plot but get as a dataframe
teamBowlersVsBatsmenOppnAllMatches(matches,"Australia","India",plot=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.