View source: R/teamBattingScoredcardOppnAllMatches.R
teamBattingScorecardOppnAllMatches | R Documentation |
This function computes returns the batting scorecard (runs, fours, sixes, balls played) for the team in all matches against an opposition
teamBattingScorecardOppnAllMatches(matches,main,opposition)
matches |
the data frame of all matches between a team and an opposition obtained with the call getAllMatchesBetweenteam() |
main |
The main team for which scorecard required |
opposition |
The opposition team |
scorecard The scorecard of all the matches
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
## Not run:
# Get all matches between India and Australia
matches <- getAllMatchesBetweenTeams("India","Australia",dir="../data",save=TRUE)
# Compute the scorecard of India in matches with australia
teamBattingScorecardOppnAllMatches(matches,main="India",opposition="Australia")
#Get all matches between Australia and India
matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data")
#Compute the batting scorecard of Australia
teamBattingScorecardOppnAllMatches(matches,"Australia","India")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.