relativeBatsmanCumulativeAvgRuns: Relative batsman's cumulative average runs

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

View source: R/relativeBatsmanCumulativeAvgRuns.R

Description

This function computes and plots the relative cumulative average runs 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

relativeBatsmanCumulativeStrikeRate 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")
relativeBatsmanCumulativeAvgRuns(batsmen,names)

## End(Not run)

tvganesh/cricketr documentation built on March 27, 2021, 6:29 p.m.