relativeBatsmanCumulativeAvgRuns {cricketr} | R Documentation |
Relative batsman's cumulative average runs
Description
This function computes and plots the relative cumulative average runs of batsmen
Usage
relativeBatsmanCumulativeAvgRuns(frames, names)
Arguments
frames |
This is a list of <batsman>.csv files obtained with an initial getPlayerData() |
names |
A list of batsmen names who need to be compared |
Value
None
Note
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Author(s)
Tinniam V Ganesh
References
https://www.espncricinfo.com/ci/content/stats/index.html
https://gigadom.in/
See Also
relativeBatsmanCumulativeStrikeRate
relativeBowlerCumulativeAvgEconRate
relativeBowlerCumulativeAvgWickets
Examples
## Not run:
# Retrieve the file path of a data file installed with cricketr
tendulkar <- system.file("data", "tendulkar.csv", package = "cricketr")
ganguly <- system.file("data", "ganguly.csv", package = "cricketr")
batsmen <- list(tendulkar,ganguly)
names <- list("Tendulkar","Ganguly")
relativeBatsmanCumulativeAvgRuns(batsmen,names)
## End(Not run)
[Package cricketr version 0.0.26 Index]