View source: R/batsmanWinProbLR.R
batsmanWinProbLR | R Documentation |
This function plots the batsman win probability of the teams in a T20 match
batsmanWinProbLR(match,t1,t2,plot=1)
match |
The dataframe of the match |
t1 |
The 1st team of the match |
t2 |
the 2nd team in the match |
plot |
Plot=1 (static), Plot=2(interactive) |
none
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails
## Not run:
#Get the match details
a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")
# Plot tne match worm plot
batsmanWinProbLR(a,'England',"Pakistan")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.