teamBatsmenVsBowlersAllOppnAllMatchesRept {yorkr} | R Documentation |
Report of team batsmen vs bowlers in all matches all oppositions
Description
This function computes the performance of batsmen against all bowlers of all oppositions in all matches
Usage
teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,theTeam,rank=0,dispRows=50)
Arguments
matches |
All the matches of the team against all oppositions |
theTeam |
The team for which the the batting partnerships are sought |
rank |
if the rank=0 then the data frame returned gives a summary list of the batsmen with the highest runs against bowlers. If rank=N (where N=1,2,3...) then the detailed breakup of the batsman and the runs scored against each bowler is returned |
dispRows |
The number of rows to be returned |
Value
h The data frame of the batsman and the runs against bowlers
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
teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"India",rank=0)
#Get detailed report
teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50)
teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"Pakistan",rank=0)
teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"England",rank=1)
## End(Not run)