relativeBatsmanCumulativeStrikeRate: Relative batsmen cumulative average strike rate

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/relativeBatsmanCumulativeStrikeRate.R

Description

This function computes and plots the cumulative average strike rate of batsmen

Usage

1

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

relativeBatsmanCumulativeAvgRuns relativeBowlerCumulativeAvgEconRate relativeBowlerCumulativeAvgWickets

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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")
relativeBatsmanCumulativeStrikeRate(batsmen,names)

## End(Not run)

cricketr documentation built on March 23, 2021, 9:06 a.m.