Report of team batsmen vs bowlers in all matches all oppositions

Share:

Description

This function computes the performance of batsmen against all bowlers of all oppositions in all matches

Usage

1
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

http://cricsheet.org/
https://gigadom.wordpress.com/
https://github.com/tvganesh/yorkrData

See Also

teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.