View source: R/teamBatsmenPartnershipAllOppnAllMatchesPlot.R
teamBatsmenPartnershipAllOppnAllMatchesPlot | R Documentation |
This function plots the batting partnership of a team againt all oppositions in all matches This function also returns a dataframe with the batting partnerships
teamBatsmenPartnershipAllOppnAllMatchesPlot(matches,theTeam,main,plot=1)
matches |
All the matches of the team against all oppositions |
theTeam |
The team for which the the batting partnerships are sought |
main |
The main team for which the the batting partnerships are sought |
plot |
Whether the partnerships have top be rendered as a plot. Plot=1 (static),plot=2(interactive),plot=3(table) |
None or partnerships
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
## Not run:
# Get all matches for team India against all oppositions
d <- teamBatsmanVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50)
#Plot the partnerships
teamBatsmenVsBowlersAllOppnAllMatchesPlot(d)
#Do not plot but get the dataframe
e <- teamBatsmenVsBowlersAllOppnAllMatchesPlot(d,plot=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.