batsmanRunsVenue: Batsman runs at different venues

View source: R/batsmanRunsVenue.R

batsmanRunsVenueR Documentation

Batsman runs at different venues

Description

This function computes and plots the mean runs scored by the batsman at different venues of the world

Usage

batsmanRunsVenue(df, name= "A Leg Glance",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
batsmanRunsPredict
teamBatsmenPartnershipAllOppnAllMatches
batsmanRunsAgainstOpposition

Examples

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

## End(Not run)


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