batsmanFoursSixes: Batsman's total runs, fours and sixes

View source: R/batsmanFoursSixes.R

batsmanFoursSixesR Documentation

Batsman's total runs, fours and sixes

Description

This function computes and plots the total runs, fours and sixes of the batsman

Usage

batsmanFoursSixes(df,name= "A Leg Glance",dateRange,staticIntv)

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

batsmanDismissals batsmanRunsVsDeliveries batsmanRunsVsStrikeRate batsmanRunsVsStrikeRate batsmanRunsPredict

Examples

## Not run: 
#Get the data frame for Kohli
kohli <- getBatsmanDetails(team="India",name="Kohli",dir=pathToFile)
kohli46 <- select(kohli,batsman,ballsPlayed,fours,sixes,runs)
batsmanFoursSixes(kohli46,"Kohli",dateRange)

## End(Not run)

tvganesh/yorkr documentation built on May 13, 2023, 12:19 p.m.