teamBatsmenPartnershipMatch: Team batting partnerships of batsmen in a match

View source: R/teamBatsmenPartnershipMatch.R

teamBatsmenPartnershipMatchR Documentation

Team batting partnerships of batsmen in a match

Description

This function plots the partnerships of batsmen in a match against an opposition or it can return the data frame

Usage

teamBatsmenPartnershipMatch(match,theTeam,opposition, plot=1)

Arguments

match

The match between the teams

theTeam

The team for which the the batting partnerships are sought

opposition

The opposition team

plot

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

Value

df The data frame of the batsmen partnetships

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

teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches

Examples

## Not run: 
# Get athe match between England and Pakistan
a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")
batsmenPartnershipMatch(a,"Pakistan","England")
batsmenPartnershipMatch(a,"England","Pakistan", plot=TRUE)
m <-batsmenPartnershipMatch(a,"Pakistan","England", plot=FALSE)

## End(Not run)


yorkr documentation built on June 24, 2024, 9:07 a.m.