teamBatsmenPartnershipAllOppnAllMatches {yorkr} | R Documentation |
Team batting partnership in all matches all oppositions
Description
This function computes the batting partnership of a team againt all oppositions in all matches This function returns a dataframe which is a summary of the batsman with the highest partnerships or the partnership of an individual batsman
Usage
teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam,report="summary")
Arguments
matches |
All the matches of the team against all oppositions |
theTeam |
The team for which the the batting partnerships are sought |
report |
if the report="summary" then the data frame returned gives a list of the batsmen with the highest partnerships. If report="detailed" then the detailed breakup of the partnership is returned. |
Value
partnerships The data frame with the partnerships
Note
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Author(s)
Tinniam V Ganesh
References
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
See Also
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
Examples
## Not run:
# Get all matches for team India against all oppositions
m <-teamBattingScorecardAllOppnAllMatches(matches,theTeam="India")
# Get the summary report
teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam='India')
# Get the detailed report
teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam='India',report="detailed")
## End(Not run)