bowlerWinProbLR: Plot the bowler win probability using Logistic Regression...

View source: R/bowlerWinProbLR.R

bowlerWinProbLRR Documentation

Plot the bowler win probability using Logistic Regression model

Description

This function plots the win probability of the teams in a T20 match

Usage

bowlerWinProbLR(match,t1,t2,plot=1)

Arguments

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)

Value

none

Note

Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com

Author(s)

Tinniam V Ganesh

References

https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/

See Also

getBatsmanDetails
getBowlerWicketDetails
batsmanDismissals
getTeamBattingDetails

Examples

## Not run: 
#Get the match details
a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")

# Plot tne match worm plot
bowlerWinProbLR(a,'England',"Pakistan")

## End(Not run)

tvganesh/yorkr documentation built on May 13, 2023, 12:19 p.m.