teamBowlingWicketKindAllOppnAllMatches: team bowling wicket kind against all opposition all matches

View source: R/teamBowlingWicketKindAllOppnAllMatches.R

teamBowlingWicketKindAllOppnAllMatchesR Documentation

team bowling wicket kind against all opposition all matches

Description

This function computes returns kind of wickets (caught, bowled etc) of bowlers in all matches against all oppositions. The user can chose to plot or return a data frame

Usage

teamBowlingWicketKindAllOppnAllMatches(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")

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

teamBowlingWicketKindAllOppnAllMatches(matches,t1="India",t2="Bangladesh")
teamBowlingWicketKindAllOppnAllMatches(matches,t1="India",t2="South Africa")

## End(Not run)


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