bowlerMovingAverage: Bowler's moving average of wickets

View source: R/bowlerMovingAverage.R

bowlerMovingAverageR Documentation

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)

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)

Value

None

Note

Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com

Author(s)

Tinniam V Ganesh

References

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

See Also

bowlerMeanEconomyRate
bowlerWicketsVenue
bowlerMeanRunsConceded

Examples

## Not run: 
# Get the data frame for RA Jadeja
jadeja <- getBowlerWicketDetails(team="India",name="Jadeja",dir=pathToFile)
bowlerMeanRunsConceded(jadeja,"RA Jadeja",dateRange,staticIntv=1)

## End(Not run)


yorkr documentation built on Jan. 7, 2023, 1:16 a.m.