Learn R Programming

yorkr (version 0.0.42)

plotWinLossTeamVsAllTeams: Plot wins for each team

Description

This function computes and plots number of wins for a team against all other teams. The plot includes the number of wins by team each team and the matches with no result

Usage

plotWinLossTeamVsAllTeams(team1,dir=".",dateRange, plot=1)

Value

None

Arguments

team1

The 1st team

dir

The source directory of the 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