relativeBatsmanCumulativeStrikeRate {cricketr}R Documentation

Relative batsmen cumulative average strike rate

Description

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

Usage

relativeBatsmanCumulativeStrikeRate(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

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

## End(Not run)

[Package cricketr version 0.0.26 Index]