Last data update: 2014.03.03

R: Team bowlers wicket runs against an opposition in all matches
teamBowlersWicketRunsOppnAllMatchesR Documentation

Team bowlers wicket runs against an opposition in all matches

Description

This function computes performance of bowlers of a team and the runs conceded against an opposition in all matches against the opposition

Usage

teamBowlersWicketRunsOppnAllMatches(matches,main,opposition,plot=TRUE)

Arguments

matches

The data frame of all matches between a team the opposition. This dataframe can be obtained with matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data")

main

The team for which the performance is required

opposition

The opposing team

plot

If plot=TRUE then a plot is displayed else a dataframe is returned

Value

None or dataframe The return depends on the value of the plot

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
teamBowlersWicketsOppnAllMatches
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersVsBatsmenAllOppnAllMatchesPlot

Examples

## Not run: 
# Get all matches between India and Australia
matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data")

teamBowlersWicketRunsOppnAllMatches(matches,"India","Australia")
m <-teamBowlerWicketsRunsOppnAllMatches(matches,"Australia","India",plot=FALSE)

## End(Not run)

Results