Last data update: 2014.03.03

R: Team batting partnerships of batsmen in a match
teamBatsmenPartnershipMatchR Documentation

Team batting partnerships of batsmen in a match

Description

This function plots the partnerships of batsmen in a match against an opposition or it can return the data frame

Usage

teamBatsmenPartnershipMatch(match,theTeam,opposition, plot=TRUE)

Arguments

match

The match between the teams

theTeam

The team for which the the batting partnerships are sought

opposition

The opposition team

plot

If plot=TRUE then a plot is created otherwise a data frame is returned

Value

df The data frame of the batsmen partnetships

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

## Not run: 
# Get athe match between England and Pakistan
a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")
batsmenPartnershipMatch(a,"Pakistan","England")
batsmenPartnershipMatch(a,"England","Pakistan", plot=TRUE)
m <-batsmenPartnershipMatch(a,"Pakistan","England", plot=FALSE)

## End(Not run)

Results