Learn R Programming

yorkr (version 0.0.42)

teamBowlersWicketKindOppnAllMatches: 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)

Value

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

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)

Author

Tinniam V Ganesh

References

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

See Also

teamBatsmenPartnershipAllOppnAllMatches teamBatsmenPartnershipAllOppnAllMatchesPlot teamBatsmenPartnershipOppnAllMatchesChart teamBowlersVsBatsmenAllOppnAllMatchesRept teamBowlersVsBatsmenAllOppnAllMatchesPlot

Examples

Run this code
if (FALSE) {
# 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)
}

Run the code above in your browser using DataLab