teamBowlingWicketRunsAllOppnAllMatches: Team bowling wicket runs all matches against all oppositions

View source: R/teamBowlingWicketRunsAllOppnAllMatches.R

teamBowlingWicketRunsAllOppnAllMatchesR Documentation

Team bowling wicket runs all matches against all oppositions

Description

This function computes the number of wickets and runs conceded by bowlers in all matches against all oppositions. The user can chose to plot or return a data frame

Usage

teamBowlingWicketRunsAllOppnAllMatches(matches,t1,t2="All",plot=1)

Arguments

matches

The matches of the team against all oppositions and all matches

t1

Team for which bowling performance is required

t2

t2=All gives the performance of the team against all opponents. Giving a opposing team (Australia, India ) will give the performance against this team

plot

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

Value

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

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

teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesPlot

Examples

## Not run: 
#Get all matches between India  and other opposition
matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE)

# Or load directly from saved file
# load("allMatchesAllOpposition-India.RData")

teamBowlingWicketRunsAllOppnAllMatches(matches,t1="India",t2="All",plot=TRUE)
m <-teamBowlingWicketRunsAllOppnAllMatches(matches,t1="India",t2="All",plot=FALSE)

## End(Not run)


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