R: Team batting partnership in all matches all oppositions
teamBatsmenPartnershipAllOppnAllMatches
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
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.
## 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)