Learn R Programming

yorkr (version 0.0.42)

teamBatsmenVsBowlersAllOppnAllMatchesRept: 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)

Value

h The data frame of the batsman and the runs against bowlers

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

Author

Tinniam V Ganesh

References

https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/

See Also

teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches

Examples

Run this code
if (FALSE) {
# 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)
}

Run the code above in your browser using DataLab