Last data update: 2014.03.03

R: Team bowlers vs batsmen in a match
teamBowlersVsBatsmenMatchR Documentation

Team bowlers vs batsmen in a match

Description

This function computes performance of bowlers of a team against an opposition in a match

Usage

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

Arguments

match

The data frame of the match. This can be obtained with the call for e.g a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")

theTeam

The team against which the performance is required

opposition

The opposition team

plot

This parameter specifies if a plot is required, If plot=FALSE then a data frame is returned

Value

None or dataframe If plot=TRUE there is no return. If plot=TRUE then the dataframe is returned

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

teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersVsBatsmenAllOppnAllMatchesPlot

Examples

## Not run: 
# Get the match between England and Pakistan
a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")
teamBowlersVsBatsmenMatch(a,"Pakistan","England")
teamBowlersVsBatsmenMatch(a,"England","Pakistan")
m <- teamBowlersVsBatsmenMatch(a,"Pakistan","England")

## End(Not run)


Results