Learn R Programming

yorkr (version 0.0.42)

teamBowlingWicketRunsMatch: Team bowling wickets runs conceded in match

Description

This function computes returns the wickets taken and runs conceded bowlers in a match between 2 teams. The user can choose to plot or return a dataframe

Usage

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

Value

None or data fame A data frame with the bowling performance in all matches against all oppositions

Arguments

match

The match between the teams

theTeam

Team for which bowling performance is required

opposition

The opposition team

plot

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

Author

Tinniam V Ganesh

References

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

See Also

teamBowlingWicketMatch
teamBowlingWicketRunsMatch
teamBowlersVsBatsmenMatch

Examples

Run this code
if (FALSE) {
#Get the match details
a <- getMatchDetails("England","Pakistan","2006-09-05",dir="../temp")

teamBowlingWicketRunsMatch(a,"England","Pakistan",plot=FALSE)
teamBowlingWicketRunsMatch(a,"Pakistan","England")
}

Run the code above in your browser using DataLab