batsmanCumulativeStrikeRate {yorkr} | R Documentation |
Batsman's cumulative average strike rate
Description
This function computes and plots the cumulative average strike rate of a batsman
Usage
batsmanCumulativeStrikeRate(df,name= "A Leg Glance",dateRange, staticIntv=1)
Arguments
df |
Data frame |
name |
Name of batsman |
dateRange |
Date interval to consider |
staticIntv |
Static or interactive -staticIntv =1 (static plot) & staticIntv =2 (interactive plot) |
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
batsmanCumulativeAverageRuns
bowlerCumulativeAvgEconRate
bowlerCumulativeAvgWickets
batsmanRunsVsStrikeRate
batsmanRunsPredict
Examples
## Not run:
#Get the data frame for Kohli
kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile)
batsmanCumulativeStrikeRate(kohli,"Kohli",dateRange)
## End(Not run)
[Package yorkr version 0.0.42 Index]