View source: R/teamBatsmenvsBowlersAllOppnAllMatchesPlot.R
teamBatsmenVsBowlersAllOppnAllMatchesPlot | R Documentation |
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
teamBatsmenVsBowlersAllOppnAllMatchesPlot(df,plot=1)
df |
The dataframe of all the matches of the team against all oppositions |
plot |
plot=1 (static),plot=2(interactive), plot=3 (table) |
None or dataframe
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.