R: Plot of Team batsmen vs bowlers against all opposition all...
teamBatsmenVsBowlersAllOppnAllMatchesPlot
R 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
## 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)