batsmanCumulativeAverageRuns {cricketr}R Documentation

Batsman's cumulative average runs

Description

This function computes and plots the cumulative average runs of a batsman

Usage

batsmanCumulativeAverageRuns(file,name= "A Leg Glance")

Arguments

file

Data frame

name

Name of batsman

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

batsmanCumulativeStrikeRate bowlerCumulativeAvgEconRate bowlerCumulativeAvgWickets

Examples

## Not run: 
# retrieve the file path of a data file installed with cricketr
pathToFile <- system.file("data", "tendulkar.csv", package = "cricketr")
batsmanCumulativeAverageRuns(pathToFile, "Sachin Tendulkar")

## End(Not run)

[Package cricketr version 0.0.26 Index]