Learn R Programming

yorkr (version 0.0.42)

teamRunsSRPlotOppnAllMatches: Team batting Runs vs SR against oppositions in all matches

Description

This function computes and plots the Runs vs SR of a team in all matches against an oppositions.

Usage

teamRunsSRPlotOppnAllMatches(matches,t1,t2,plot=1)

Arguments

matches

All matches of the team in all matches with opposition

t1

The team t

t2

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
teamRunsSRPlotOppnAllMatches(matches,theTeam="India")

# The best England players scorecard against India is shown
teamRunsSRPlotOppnAllMatches(matches,theTeam="England")
}

Run the code above in your browser using DataLab