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.
Author  Tinniam V Ganesh 
Date of publication  20170312 09:02:27 
Maintainer  Tinniam V Ganesh <tvganesh.85@gmail.com> 
License  MIT + file LICENSE 
Version  0.0.14 
URL  https://github.com/tvganesh/cricketr 
Package repository  View on CRAN 
Installation  Install the latest version of this package by entering the following in R:



All man pages Function index File listing
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 KMeans 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 InForm or OutOfForm by...  
checkBowlerInForm: Check whether the bowler is InForm or OutOfForm by looking...  
clean: Create a batsman data frame given the batsman's CSV file  
cleanBowlerData: Clean the bowlers data frame  
cricketrpackage: 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... 
Functions 

Files  

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs in the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.