Team bowlers vs batsmen in a match

Share:

Description

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

Usage

1

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

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

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