teamBatsmenVsBowlersAllOppnAllMatchesPlot: Plot of Team batsmen vs bowlers against all opposition all...

View source: R/teamBatsmenvsBowlersAllOppnAllMatchesPlot.R

teamBatsmenVsBowlersAllOppnAllMatchesPlotR Documentation

Plot of Team batsmen vs bowlers against all opposition all matches

Description

This function computes the performance of batsmen against all bowlers of all oppositions in all matches. The data frame can be either plotted or returned to the user

Usage

teamBatsmenVsBowlersAllOppnAllMatchesPlot(df,plot=1)

Arguments

df

The dataframe of all the matches of the team against all oppositions

plot

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

Value

None or dataframe

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

teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches

Examples

## Not run: 
# Get all matches for team India against all oppositions in all matches
matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE)

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

d <- teamBatsmanVsBowlersAllOppnAllMatchesRept(matches,"India",rank=1,dispRows=50)
teamBatsmenVsBowlersAllOppnAllMatchesPlot(d)
e <- teamBatsmenVsBowlersAllOppnAllMatchesPlot(d,plot=FALSE)

## End(Not run)


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