cricketr: Analyze Cricketers Based on ESPN Cricinfo Statsguru

Tools for analyzing performances of cricketers based on stats in ESPN Cricinfo Statsguru. The toolset can be used for analysis of Tests,ODIs and Twenty20 matches of both batsmen and bowlers.

AuthorTinniam V Ganesh
Date of publication2016-05-14 22:45:16
MaintainerTinniam V Ganesh <>
LicenseMIT + file LICENSE

View on CRAN

Man pages

ashwin: Data set for Ravichandran Ashwin

ashwin1: Data set for Ravichander Ashwin

badree: Data set for Samuel Badree

batsman4s: Plot the numbers of 4s against the runs scored by batsman

batsman4s6s: Compute and plot a stacked barplot of runs,4s and 6s

batsman6s: Plot the run range against the number of 6s

batsmanAvgRunsGround: This function computes and plots the Average runs scored in...

batsmanAvgRunsOpposition: This function computes and plots the Average runs against...

batsmanContributionWonLost: Disply the batsman's contribution in matches that were won...

batsmanCumulativeAverageRuns: Batsman's cumulative average runs

batsmanCumulativeStrikeRate: Batsman's cumulative average strike rate

batsmanDismissals: Display a 3D Pie Chart of the dismissals of the batsman

batsmanMeanStrikeRate: Calculate and plot the Mean Strike Rate of the batsman on...

batsmanMovingAverage: Calculate and plot the Moving Average of the batsman in his...

batsmanPerfBoxHist: Make a boxplot and a histogram of the runs scored by the...

batsmanPerfForecast: Forecast the batting performance based on past performances...

batsmanPerfHomeAway: This function analyses the performance of the batsman at home...

batsmanRunsFreqPerf: Calculate and run frequencies in ranges of 10 runs and plot...

batsmanRunsLikelihood: This function uses K-Means to determine the likelihood of the...

batsmanRunsPredict: Predict the runs for the batsman given the Balls Faced and...

batsmanRunsRanges: Compute and plot a histogram of the runs scored in ranges of...

batsmanScoringRateODTT: Compute and plot the predicted scoring rate for a One day...

battingPerf3d: Make a 3D scatter plot of the Runs scored versus the Balls...

bowlerAvgWktsGround: This function computes and plot the average wickets in...

bowlerAvgWktsOpposition: This function computes and plot the average wickets against...

bowlerContributionWonLost: Display the bowler's contribution in matches that were won...

bowlerCumulativeAvgEconRate: Bowler's cumulative average economy rate

bowlerCumulativeAvgWickets: Bowler's cumulative average wickets

bowlerEconRate: Compute and plot the Mean Economy Rate versus wickets taken

bowlerHistWickets: Plot a histogram of Wicket percentages versus wickets taken

bowlerMovingAverage: Compute and plot the moving average of the wickets taken for...

bowlerPerfForecast: Forecast the bowler performance based on past performances...

bowlerPerfHomeAway: This function analyses the performance of the bowler at home...

bowlerWktRateTT: Compute and plot the Mean number of deliveries versus wickets...

bowlerWktsFreqPercent: Plot the Wickets Frequency as a percentage against wickets...

bowlerWktsRunsPlot: Compute and plot the runs conceded versus the wickets taken

checkBatsmanInForm: Check whether the batsman is In-Form or Out-Of-Form by...

checkBowlerInForm: Check whether the bowler is In-Form or Out-Of-Form by looking...

clean: Create a batsman data frame given the batsman's CSV file

cleanBowlerData: Clean the bowlers data frame

cricketr-package: This package analyzes the performances of cricketers using...

devilliers: Data set for AB Devilliers

dravid: Data set for Rahul Dravid

ER: Calculate the mean Economy Rate

ganguly: Data set for Sourav Ganguly

gayle: Data set for Chris Gayle

getPlayerData: Get the player data from ESPN Cricinfo based on specific...

getPlayerDataOD: Get the One day player data from ESPN Cricinfo based on...

getPlayerDataSp: Get the player data along with venue and

getPlayerDataTT: Get the Twenty20 International player data from ESPN Cricinfo...

kohli: Data set for Virat Kohli

kohli1: Data set for Virat Kohli

kumble: Data set for Anil Kumble

kumble1: Data set for Anil Kumble

kumblesp: Data set for Anil Kumble

malinga: Data set for Lasith Malinga

malinga1: Data set for Lasith Malinga

maxwell: Data set for Glenn Maxwell

mendis: Data set for Ajantha Mendis

mitchell: Data set for Mitchell Johnson

murali: Data set for Muthiah Muralitharan

narine: Data set for Sunil Narine

percentRuns: Calculate the percent runs in each run range

percentWkts: Calculate the percentage of wickets taken by bowler

relativeBatsmanCumulativeAvgRuns: Relative batsman's cumulative average runs

relativeBatsmanCumulativeStrikeRate: Relative batsmen cumulative average strike rate

relativeBatsmanSR: Calculate and plot the relative Mean Strike Rate (SR) for...

relativeBatsmanSRODTT: Calculate and plot the relative Mean Strike Rate (SR) for...

relativeBowlerCumulativeAvgEconRate: Relative Bowler's cumulative average economy rate

relativeBowlerCumulativeAvgWickets: Relative bowlers cumulative average wickets

relativeBowlingER: Compute and plot the relative mean Economy Rate(ER) of the...

relativeBowlingERODTT: Compute and plot the relative mean Economy Rate(ER) of the...

relativeBowlingPerf: Plot the relative performances of bowlers

relativeRunsFreqPerf: Calculate and compute the relative run frequencies of a list...

relativeRunsFreqPerfODTT: Calculate and compute the relative run frequencies of a list...

relativeWktRateTT: Compute and plot the relative Mean Wicket Rate of the bowlers...

sehwag: Data set for Virendar Sehwag

sehwag1: Data set for Virendar Sehwag

sehwag2: Data set for Virendar Sehwag

southee: Data set for Tim Southee

steyn: Data set for Dale Steyn

tendulkar: Data set for Sachin Tendulkar

tendulkar1: Data set for Sachin Tendulkar

tendulkar2: Data set for Sachin Tendulkar

tendulkarsp: Data set for Sachin Tendulkar

warne: Data set for Shane Warne

WR: This function caculates the wicket rate vs mean number of...


ashwin Man page
ashwin1 Man page
badree Man page
batsman4s Man page
batsman4s6s Man page
batsman6s Man page
batsmanAvgRunsGround Man page
batsmanAvgRunsOpposition Man page
batsmanContributionWonLost Man page
batsmanCumulativeAverageRuns Man page
batsmanCumulativeStrikeRate Man page
batsmanDismissals Man page
batsmanMeanStrikeRate Man page
batsmanMovingAverage Man page
batsmanPerfBoxHist Man page
batsmanPerfForecast Man page
batsmanPerfHomeAway Man page
batsmanRunsFreqPerf Man page
batsmanRunsLikelihood Man page
batsmanRunsPredict Man page
batsmanRunsRanges Man page
batsmanScoringRateODTT Man page
battingPerf3d Man page
bowlerAvgWktsGround Man page
bowlerAvgWktsOpposition Man page
bowlerContributionWonLost Man page
bowlerCumulativeAvgEconRate Man page
bowlerCumulativeAvgWickets Man page
bowlerEconRate Man page
bowlerHistWickets Man page
bowlerMovingAverage Man page
bowlerPerfForecast Man page
bowlerPerfHomeAway Man page
bowlerWktRateTT Man page
bowlerWktsFreqPercent Man page
bowlerWktsRunsPlot Man page
checkBatsmanInForm Man page
checkBowlerInForm Man page
clean Man page
cleanBowlerData Man page
cricketr Man page
cricketr-package Man page
devilliers Man page
dravid Man page
ER Man page
ganguly Man page
gayle Man page
getPlayerData Man page
getPlayerDataOD Man page
getPlayerDataSp Man page
getPlayerDataTT Man page
kohli Man page
kohli1 Man page
kumble Man page
kumble1 Man page
kumblesp Man page
malinga Man page
malinga1 Man page
maxwell Man page
mendis Man page
mitchell Man page
murali Man page
narine Man page
percentRuns Man page
percentWkts Man page
relativeBatsmanCumulativeAvgRuns Man page
relativeBatsmanCumulativeStrikeRate Man page
relativeBatsmanSR Man page
relativeBatsmanSRODTT Man page
relativeBowlerCumulativeAvgEconRate Man page
relativeBowlerCumulativeAvgWickets Man page
relativeBowlingER Man page
relativeBowlingERODTT Man page
relativeBowlingPerf Man page
relativeRunsFreqPerf Man page
relativeRunsFreqPerfODTT Man page
relativeWktRateTT Man page
sehwag Man page
sehwag1 Man page
sehwag2 Man page
southee Man page
steyn Man page
tendulkar Man page
tendulkar1 Man page
tendulkar2 Man page
tendulkarsp Man page
warne Man page
WR Man page


cricketr/R/checkBowlerInForm.R cricketr/R/bowlerWktsRunsPlot.R cricketr/R/relativeRunsFreqPerfODTT.R cricketr/R/batsman6s.R cricketr/R/bowlerPerfForecast.R cricketr/R/batsmantPerfForecast.R cricketr/R/batsmanMeanStrikeRate.R cricketr/R/batsmanPerfBoxHist.R cricketr/R/batsmanRunRanges.R cricketr/R/batsmanContributionWonLost.R cricketr/R/clean.R cricketr/R/bowlerCumulativeAvgWickets.R cricketr/R/batsmanRunsPredict.R cricketr/R/relativeBatsmanCumulativeAvgRuns.R cricketr/R/relativeBowlingERODTT.R cricketr/R/battingPerf3d.R cricketr/R/batsmanAvgRunsOpposition.R cricketr/R/batsmanDismissals.R cricketr/R/bowlerHistWickets.R cricketr/R/batsmanMovingAverage.R cricketr/R/relativeBowlerCumulativeEconRate.R cricketr/R/relativeBowlingER.R cricketr/R/bowlerWktRateTT.R cricketr/R/bowlerAvgWktsGround.R cricketr/R/relativeBatsmanSR.R cricketr/R/cleanBowlerData.R cricketr/R/relativeBatsmanCumulativeStrikeRate.R cricketr/R/bowlerAvgWktsOpposition.R cricketr/R/batsmanAvgRunsGround.R cricketr/R/relativeWktRateTT.R cricketr/R/relativeBatsmanSRODTT.R cricketr/R/bowlerPerfHomeAway.R cricketr/R/bowlerCumulativeAvgEconRate.R cricketr/R/batsmanRunsFreqPerf.R cricketr/R/batsman4s.R cricketr/R/bowlerMovingAverage.R cricketr/R/bowlerContributionWonLost.R cricketr/R/relativeRunsFreqPerf.R cricketr/R/batsman4s6s.R cricketr/R/batsmanCumulativeStrikeRate.R cricketr/R/batsmanCumulativeAverageRuns.R cricketr/R/relativeBowlerCumulativeAvgWickets.R cricketr/R/bowlerEconRate.R cricketr/R/checkBatsmanInForm.R cricketr/R/batsmanRunsLikelihood.R cricketr/R/batsmanScoringRateODTT.R cricketr/R/getPlayerDataTT.R cricketr/R/batsmanPerfHomeAway.R cricketr/R/getPlayerDataOD.R cricketr/R/getPlayerData.R cricketr/R/bowlerWktsFreqPercent.R cricketr/R/getPlayerDataSp.R cricketr/R/relativeBowlingPerf.R
cricketr/man/percentRuns.Rd cricketr/man/batsmanScoringRateODTT.Rd cricketr/man/bowlerHistWickets.Rd cricketr/man/getPlayerData.Rd cricketr/man/bowlerAvgWktsGround.Rd cricketr/man/checkBowlerInForm.Rd cricketr/man/malinga.Rd cricketr/man/relativeBatsmanSR.Rd cricketr/man/bowlerWktRateTT.Rd cricketr/man/sehwag2.Rd cricketr/man/devilliers.Rd cricketr/man/bowlerPerfHomeAway.Rd cricketr/man/WR.Rd cricketr/man/batsmanAvgRunsGround.Rd cricketr/man/clean.Rd cricketr/man/relativeBatsmanSRODTT.Rd cricketr/man/bowlerAvgWktsOpposition.Rd cricketr/man/cleanBowlerData.Rd cricketr/man/mitchell.Rd cricketr/man/bowlerWktsFreqPercent.Rd cricketr/man/bowlerEconRate.Rd cricketr/man/mendis.Rd cricketr/man/dravid.Rd cricketr/man/kohli1.Rd cricketr/man/sehwag.Rd cricketr/man/ganguly.Rd cricketr/man/batsmanPerfBoxHist.Rd cricketr/man/battingPerf3d.Rd cricketr/man/relativeBowlingER.Rd cricketr/man/relativeBowlerCumulativeAvgEconRate.Rd cricketr/man/badree.Rd cricketr/man/relativeBowlingPerf.Rd cricketr/man/bowlerPerfForecast.Rd cricketr/man/batsmanAvgRunsOpposition.Rd cricketr/man/southee.Rd cricketr/man/relativeBatsmanCumulativeAvgRuns.Rd cricketr/man/warne.Rd cricketr/man/batsman4s6s.Rd cricketr/man/relativeWktRateTT.Rd cricketr/man/tendulkar.Rd cricketr/man/relativeRunsFreqPerfODTT.Rd cricketr/man/batsmanPerfHomeAway.Rd cricketr/man/batsmanPerfForecast.Rd cricketr/man/batsmanRunsRanges.Rd cricketr/man/kohli.Rd cricketr/man/kumblesp.Rd cricketr/man/batsmanRunsFreqPerf.Rd cricketr/man/batsmanMeanStrikeRate.Rd cricketr/man/steyn.Rd cricketr/man/bowlerCumulativeAvgEconRate.Rd cricketr/man/kumble.Rd cricketr/man/relativeBatsmanCumulativeStrikeRate.Rd cricketr/man/ashwin1.Rd cricketr/man/getPlayerDataTT.Rd cricketr/man/tendulkar2.Rd cricketr/man/bowlerMovingAverage.Rd cricketr/man/maxwell.Rd cricketr/man/percentWkts.Rd cricketr/man/relativeBowlerCumulativeAvgWickets.Rd cricketr/man/batsmanContributionWonLost.Rd cricketr/man/batsmanMovingAverage.Rd cricketr/man/getPlayerDataSp.Rd cricketr/man/cricketr-package.Rd cricketr/man/ER.Rd cricketr/man/batsmanRunsLikelihood.Rd cricketr/man/sehwag1.Rd cricketr/man/bowlerContributionWonLost.Rd cricketr/man/narine.Rd cricketr/man/gayle.Rd cricketr/man/tendulkar1.Rd cricketr/man/bowlerCumulativeAvgWickets.Rd cricketr/man/relativeBowlingERODTT.Rd cricketr/man/batsman6s.Rd cricketr/man/batsman4s.Rd cricketr/man/batsmanCumulativeStrikeRate.Rd cricketr/man/batsmanDismissals.Rd cricketr/man/kumble1.Rd cricketr/man/murali.Rd cricketr/man/ashwin.Rd cricketr/man/tendulkarsp.Rd cricketr/man/malinga1.Rd cricketr/man/bowlerWktsRunsPlot.Rd cricketr/man/checkBatsmanInForm.Rd cricketr/man/getPlayerDataOD.Rd cricketr/man/batsmanRunsPredict.Rd cricketr/man/relativeRunsFreqPerf.Rd cricketr/man/batsmanCumulativeAverageRuns.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.