View source: R/batsmansRunsPredict.R
| batsmanRunsPredict | R Documentation | 
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
batsmanRunsPredict(df, name= "A Leg Glance",dateRange)
df | 
 Data frame  | 
name | 
 Name of batsman  | 
dateRange | 
 Date interval to consider  | 
None
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
batsmanDismissals
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate
batsmanRunsPredict
teamBatsmenPartnershipAllOppnAllMatches
## Not run: 
#Get the data frame for Kohli
kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile)
batsmanRunsVsStrikeRate(kohli,"Kohli",dateRange)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.