batsmanFoursSixes: Batsman's total runs, fours and sixes

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/batsmanFoursSixes.R

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 [email protected]

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)

yorkr documentation built on May 29, 2017, 11:33 a.m.