teamBatsmenPartnershiOppnAllMatches: Team batting partnership against a opposition all matches

View source: R/teamBatsmenPartnershipOppnAllMatches.R

teamBatsmenPartnershiOppnAllMatchesR Documentation

Team batting partnership against a opposition all matches

Description

This function computes the performance of batsmen against all bowlers of an oppositions in all matches. This function returns a dataframe

Usage

teamBatsmenPartnershiOppnAllMatches(matches,theTeam,report="summary")

Arguments

matches

All the matches of the team against the oppositions

theTeam

The team for which the the batting partnerships are sought

report

If the report="summary" then the list of top batsmen with the highest partnerships is displayed. If report="detailed" then the detailed break up of partnership is returned as a dataframe

Value

partnerships The data frame of 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
teamBowlersVsBatsmenMatch
teamBattingScorecardMatch

Examples

## Not run: 
# Get all matches for team India against all oppositions
matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data")
# You can also directly load the data
#load("India-Australia-allMatches.RData")

m <-teamBatsmenPartnershiOppnAllMatches(a,'India',report="summary")
m <-teamBatsmenPartnershiOppnAllMatches(a,'Australia',report="detailed")

## End(Not run)


tvganesh/yorkr documentation built on May 13, 2023, 12:19 p.m.