Last data update: 2014.03.03

R: Team bowling wicket runs all matches against all oppositions
teamBowlingWicketRunsAllOppnAllMatchesR Documentation

Team bowling wicket runs all matches against all oppositions

Description

This function computes the number of wickets and runs conceded by bowlers in all matches against all oppositions. The user can chose to plot or return a data frame

Usage

teamBowlingWicketRunsAllOppnAllMatches(matches,t1,t2="All",plot=TRUE)

Arguments

matches

The matches of the team against all oppositions and all matches

t1

Team for which bowling performance is required

t2

t2=All gives the performance of the team against all opponents. Giving a opposing team (Australia, India ) will give the performance against this team

plot

If plot= TRUE the dataframe will be plotted else a data frame will be returned

Value

None or data fame A data frame with the bowling performance in alll matches against all oppositions

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

teamBowlingScorecardAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot

Examples

## Not run: 
#Get all matches between India  and other opposition
matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE)

# Or load directly from saved file
# load("allMatchesAllOpposition-India.RData")

teamBowlingWicketRunsAllOppnAllMatches(matches,t1="India",t2="All",plot=TRUE)
m <-teamBowlingWicketRunsAllOppnAllMatches(matches,t1="India",t2="All",plot=FALSE)

## End(Not run)

Results