Learn R Programming

cricketr (version 0.0.13)

relativeBowlerCumulativeAvgEconRate: Relative Bowler's cumulative average economy rate

Description

This function computes and plots the relative cumulative average economy rate of bowlers

Usage

relativeBowlerCumulativeAvgEconRate(frames, names)

Arguments

frames
This is a list of .csv files obtained with an initial getPlayerData()
names
A list of Twenty20 bowlers names who need to be compared

Value

None

References

http://www.espncricinfo.com/ci/content/stats/index.html https://gigadom.wordpress.com/

See Also

relativeBatsmanCumulativeAvgRuns relativeBowlerCumulativeAvgWickets relativeBatsmanCumulativeStrikeRate

Examples

Run this code
## Not run: )
# # Retrieve the file path of a data file installed with cricketr
# kumble <- system.file("data", "kumble.csv", package = "cricketr")
# warne <- system.file("data", "warne.csv", package = "cricketr")
# murali <- system.file("data", "murali.csv", package = "cricketr")
# 
# frames <- list(kumble,warne,murali)
# names <- c("Kumble","Warne","Murali")
# relativeBowlerCumulativeAvgEconRate(frames,names)
# ## End(Not run)

Run the code above in your browser using DataLab