teamBatsmenPartnershipOppnAllMatchesChart: Plot of team partnership all matches against an opposition

View source: R/teamBatsmenPartnershipOppnAllMatchesChart.R

teamBatsmenPartnershipOppnAllMatchesChartR Documentation

Plot of team partnership all matches against an opposition

Description

This function plots the batting partnership of a team againt all oppositions in all matches This function also returns a dataframe with the batting partnerships

Usage

teamBatsmenPartnershipOppnAllMatchesChart(matches,main,opposition, plot=1)

Arguments

matches

All the matches of the team against all oppositions

main

The main team for which the the batting partnerships are sought

opposition

The opposition team for which the the batting partnerships are sought

plot

Plot=1 (static),plot=2(interactive),plot=3(table)

Value

None or partnerships

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

teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches

Examples

## Not run: 
# Get all matches for team India against all oppositions
d <- teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50)
 #Plot the partnerships
teamBatsmenVsBowlersAllOppnAllMatchesPlot(d)

#Do not plot but get the dataframe
e <- teamBatsmenVsBowlersAllOppnAllMatchesPlot(d,plot=FALSE)

## End(Not run)


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