Learn R Programming

yorkr (version 0.0.42)

teamBatsmenVsBowlersMatch: Team batsmen against bowlers in a match

Description

This function plots the performance of batsmen versus bowlers in a match or it can return the data frame

Usage

teamBatsmenVsBowlersMatch(match,theTeam,opposition, plot=1)

Value

b The data frame of the batsmen vs bowlers performance

Arguments

match

The match between the teams

theTeam

The team for which the the batting partnerships are sought

opposition

The opposition team

plot

lot=1 (static),plot=2(interactive),plot=3(table)

Author

Tinniam V Ganesh

References

https://cricsheet.org/
https://gigadom.in/
https://github.com/tvganesh/yorkrData/

See Also

teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBattingScorecardMatch

Examples

Run this code
if (FALSE) {
# Get athe match between England and Pakistan
a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")
batsmenVsBowlersMatch(a,'Pakistan','England', plot=TRUE)
}

Run the code above in your browser using DataLab