batsmanRunsVsDeliveries: Runs versus deliveries faced

View source: R/batsmansRunsVsDeliveries.R

batsmanRunsVsDeliveriesR Documentation

Runs versus deliveries faced

Description

This function plots the runs scored and the deliveries required. A regression smoothing function is used to fit the points

Usage

batsmanRunsVsDeliveries(df, name= "A Late Cut",dateRange,staticIntv=1)

Arguments

df

Data frame

name

Name of batsman

dateRange

Date interval to consider

staticIntv

Static or interactive -staticIntv =1 (static plot) & staticIntv =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

batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate

Examples

## Not run: 
#Get the data frame for Kohli
kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile)
batsmanRunsVsDeliveries(kohli,"Kohli")

## End(Not run)


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