View source: R/teamBatsmenVsBowlersOppnAllMatches.R
teamBatsmenVsBowlersOppnAllMatches | R Documentation |
This function computes the performance of batsmen against the bowlers of an oppositions in all matches
teamBatsmenVsBowlersOppnAllMatches(matches,main,opposition,plot=1,top=5)
matches |
All the matches of the team against one specific opposition |
main |
The team for which the the batting partnerships are sought |
opposition |
The opposition team |
plot |
lot=1 (static),plot=2(interactive),plot=3(table) |
top |
The number of players to be plotted or returned as a dataframe. The default is 5 |
None or dataframe
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
## Not run:
# Get all matches for team India against an opposition
matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data")
# Get the performance of India batsman against Australia in all matches
teamBatsmenVsBowlersOppnAllMatches(a,"India","Australia")
# Display top 3
teamBatsmanVsBowlersOppnAllMatches(a,"Australia","India",top=3)
# Get top 10 and do not plot
n <- teamBatsmenVsBowlersOppnAllMatches(a,"Australia","India",top=10,plot=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.