plotWinLossBetweenTeams: Plot wins for each team

View source: R/plotWinLossBetweenTeams.R

plotWinLossBetweenTeamsR Documentation

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)

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)

Value

None

Note

Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com

Author(s)

Tinniam V Ganesh

References

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

See Also

batsmanFoursSixes
batsmanRunsVsDeliveries
batsmanRunsVsStrikeRate

Examples

## Not run: 

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

## End(Not run)

tvganesh/yorkr documentation built on May 13, 2023, 12:19 p.m.