Learn R Programming

yorkr (version 0.0.42)

teamRunsSRPlotMatch: Team Runs vs SR in match

Description

This function computes and plots the Runs vs SR of a team in matches

Usage

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

Arguments

match

All matches of the team in all matches with all oppositions

theTeam

The team for which the the batting partnerships are sought

opposition

The opposition team

plot

plot=1 (static),plot=2(interactive)

Author

Tinniam V Ganesh

References

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

See Also

teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches

Examples

Run this code
if (FALSE) {

# Top batsman is displayed in descending order of runs
teamRunsSRPlotMatch(matches,theTeam="India",opposition="England")

}

Run the code above in your browser using DataLab