batsmanRunsPredict: Predict deliveries to runs scored
Description
This function uses a classification tree to predict the number of deliveries required for
the batsman to score the runs. It uses the package rpart to perform the classification
Usage
batsmanRunsPredict(df, name= "A Leg Glance",dateRange)
if (FALSE) {
#Get the data frame for Kohlikohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile)
batsmanRunsVsStrikeRate(kohli,"Kohli",dateRange)
}