View source: R/getDeliveryWickets.R
getDeliveryWickets | R Documentation |
This function creates a data frame of deliveries bowled and wickets taken. This data frame is then used by bowlerWktsPredict to predict the number of deliveries to wickets taken
getDeliveryWickets(team,dir=".",name,save=FALSE)
team |
The team for which dataframe is to be obtained |
dir |
The source directory in which the match .RData files exist |
name |
The name of the bowler |
save |
Whether the data frame needs to be saved to a file or nor |
dataframe The dataframe of delivery wickets
Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com
Tinniam V Ganesh
https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/
bowlerMovingAverage
getTeamBowlingDetails
bowlerWktsPredict
teamBowlersWicketRunsOppnAllMatches
## Not run:
# Create a data frame of deliveries to wickets from the stored .RData files
jadeja1 <- getDeliveryWickets(team="India",dir="../data",name="Jadeja",save=FALSE)
# Use this to create a classification tree of deliveries to wickets
bowlerWktsPredict(jadeja1,"RA Jadeja")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.