View source: R/teamRunsSRPlotAllOppnAllMatches.R
teamRunsSRPlotAllOppnAllMatches | R Documentation |
This function computes and plots runs vs SR of a team in all matches against all oppositions.
teamRunsSRPlotAllOppnAllMatches(matches,theTeam,plot=1)
matches |
All matches of the team in all matches with all oppositions |
theTeam |
The team for which the the batting partnerships are sought |
plot |
Plot=1 (static), Plot=2(interactive) |
details The data frame of the scorecard of the team in all matches against all oppositions
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
teamBowlingWicketRunsAllOppnAllMatches
## Not run:
# Get all matches between India with all oppositions
matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE)
# This can also be loaded from saved file
# load("allMatchesAllOpposition-India.RData")
# Top batsman is displayed in descending order of runs
teamRunsSRPlotAllOppnAllMatches(matches,theTeam="India")
# The best England players scorecard against India is shown
teamRunsSRPlotAllOppnAllMatches(matches,theTeam="England",plot=1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.