cricketr (version 0.0.23)

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 <bowler>.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)
# }

Run the code above in your browser using DataCamp Workspace