teamBowlersVsBatsmenMatch: Team bowlers vs batsmen in a match

View source: R/teamBowlersVsBatsmenMatch.R

teamBowlersVsBatsmenMatchR Documentation

Team bowlers vs batsmen in a match

Description

This function computes performance of bowlers of a team against an opposition in a match

Usage

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

Arguments

match

The data frame of the match. This can be obtained with the call for e.g a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")

theTeam

The team against which the performance is required

opposition

The opposition team

plot

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

Value

None or dataframe If plot=TRUE there is no return. If plot=TRUE then the dataframe is returned

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
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesRept
teamBowlersVsBatsmenAllOppnAllMatchesPlot

Examples

## Not run: 
# Get the match between England and Pakistan
a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")
teamBowlersVsBatsmenMatch(a,"Pakistan","England")
teamBowlersVsBatsmenMatch(a,"England","Pakistan")
m <- teamBowlersVsBatsmenMatch(a,"Pakistan","England")

## End(Not run)



yorkr documentation built on May 31, 2023, 8:24 p.m.