Learn R Programming

yorkr (version 0.0.42)

plotWinLossBetweenTeams: Plot wins for each team

Description

This function computes and plots number of wins for each team in all their encounters. The plot includes the number of wins byteam1 each team and the matches with no result

Usage

plotWinLossBetweenTeams(team1,team2,dir=".",dateRange, plot=1)

Value

None

Arguments

team1

The 1st team

team2

The 2nd team

dir

The source directory of teh RData files

dateRange

Date Range

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

batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate

Examples

Run this code
if (FALSE) {

plotWinLossBetweenTeams(team1="India",team2="Australia",dir=pathToFile)
batsmanDismissals(kohli,"Kohli")
}

Run the code above in your browser using DataLab