Batsman's total runs, fours and sixes

Share:

Description

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

Usage

1
batsmanFoursSixes(df,name= "A Leg Glance")

Arguments

df

Data frame

name

Name of batsman

Value

None

Note

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

Author(s)

Tinniam V Ganesh

References

http://cricsheet.org/
https://gigadom.wordpress.com/
https://github.com/tvganesh/yorkrData

See Also

batsmanDismissals batsmanRunsVsDeliveries batsmanRunsVsStrikeRate batsmanRunsVsStrikeRate batsmanRunsPredict

Examples

1
2
3
4
5
6
7
## 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")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.