Learn R Programming

yorkr (version 0.0.42)

bowlerMovingAverage: Bowler's moving average of wickets

Description

This function computes and plots the wickets taken by the bowler over career. A loess regression fit plots the moving average of wickets taken by bowler

Usage

bowlerMovingAverage(df, name,dateRange,staticIntv1=1)

Value

None

Arguments

df

Data frame

name

Name of bowler

dateRange

Date interval to consider

staticIntv1

Static or interactive -staticIntv1 =1 (static plot) & staticIntv1 =2 (interactive plot)

Author

Tinniam V Ganesh

References

https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/

See Also

bowlerMeanEconomyRate
bowlerWicketsVenue
bowlerMeanRunsConceded

Examples

Run this code
if (FALSE) {
# Get the data frame for RA Jadeja
jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile)
bowlerMeanRunsConceded(jadeja,"RA Jadeja",dateRange,staticIntv=1)
}

Run the code above in your browser using DataLab