powered by
This function plots the win probability of the teams in a T20 match
winProbabilityGAN(match,t1,t2,plot=1)
none
The dataframe of the match
The 1st team of the match
the 2nd team in the match
Plot=1 (static), Plot=2(interactive)
Tinniam V Ganesh
https://cricsheet.org/ https://gigadom.in/ https://github.com/tvganesh/yorkrData/
getBatsmanDetails getBowlerWicketDetails batsmanDismissals getTeamBattingDetails
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
if (FALSE) { #Get the match details a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp") # Plot tne match worm plot winProbabilityGAN(a,'England',"Pakistan") }
Run the code above in your browser using DataLab