Last data update: 2014.03.03

R: Plot of Team batsmen vs bowlers against all opposition all...
teamBatsmenVsBowlersAllOppnAllMatchesPlotR Documentation

Plot of Team batsmen vs bowlers against all opposition all matches

Description

This function computes the performance of batsmen against all bowlers of all oppositions in all matches. The data frame can be either plotted or returned to the user

Usage

teamBatsmenVsBowlersAllOppnAllMatchesPlot(df,plot=TRUE)

Arguments

df

The dataframe of all the matches of the team against all oppositions

plot

If plot=TRUE the result is plotted or else the data frame is returned

Value

None or dataframe

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 all matches for team India against all oppositions in all matches
matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE)

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

d <- teamBatsmanVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50)
teamBatsmenVsBowlersAllOppnAllMatchesPlot(d)
e <- teamBatsmenVsBowlersAllOppnAllMatchesPlot(d,plot=FALSE)

## End(Not run)

Results