Last data update: 2014.03.03

R: Plot bowlers vs batsmen against all opposition all matches
teamBowlersVsBatsmenAllOppnAllMatchesPlotR Documentation

Plot bowlers vs batsmen against all opposition all matches

Description

This function computes performance of bowlers of a team against all opposition in all matches

Usage

teamBowlersVsBatsmenAllOppnAllMatchesPlot(bowlerDF,t1,t2)

Arguments

bowlerDF

The data frame of the bowler whose performance is required

t1

The team against to which the player belong

t2

The opposing team

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

teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesRept

Examples

## Not run: 
# Get all matches between India and all oppostions
matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE)

#Get the details of the bowler with the specified rank as a dataframe
df <- teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=1)
#Plot this
teamBowlersVsBatsmenAllOppnAllMatchesPlot(df,"India","India")

df <- teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="England",rank=1)
teamBowlersVsBatsmenAllOppnAllMatchesPlot(df,"India","England")

## End(Not run)

Results