teamBowlersWicketKindOppnAllMatches: Team bowlers wicket kind against an opposition in all matches

View source: R/teamBowlersWicketKindOppnAllMatches.R

teamBowlersWicketKindOppnAllMatchesR Documentation

Team bowlers wicket kind against an opposition in all matches

Description

This function computes performance of bowlers of a team and the wicket kind against an opposition in all matches against the opposition

Usage

teamBowlersWicketKindOppnAllMatches(matches,main,opposition,plot=1)

Arguments

matches

The data frame of all matches between a team the opposition. This dataframe can be obtained with matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data")

main

The team for which the performance is required

opposition

The opposing team

plot

#' @param plot plot=1 (static),plot=2(interactive),plot=3(table)

Value

None or dataframe The return depends on the value of the plot

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 all matches between India and Australia
matches <- getAllMatchesBetweenTeams("Australia","India",dir="../data")

teamBowlersWicketKindOppnAllMatches(matches,"India","Australia",plot=TRUE)
m <- teamBowlersWicketKindOppnAllMatches(matches,"Australia","India",plot=FALSE)

teamBowlersWicketKindOppnAllMatches(matches,"Australia","India",plot=TRUE)

## End(Not run)


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