Plot bowlers vs batsmen against all opposition all matches

Share:

Description

This function computes performance of bowlers of a team against all opposition in all matches

Usage

1

Arguments

bowlerDF

The data frame of the bowler whose performance is required

t1

The team against to which the player belong

t2

The opposing team

Value

none

Note

Maintainer: Tinniam V Ganesh tvganesh.85@gmail.com

Author(s)

Tinniam V Ganesh

References

http://cricsheet.org/
https://gigadom.wordpress.com/
https://github.com/tvganesh/yorkrData

See Also

teamBatsmenPartnershipAllOppnAllMatches
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBowlersVsBatsmenAllOppnAllMatchesMain
teamBowlersVsBatsmenAllOppnAllMatchesRept

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
# Get all matches between India and all oppostions
matches <-getAllMatchesAllOpposition("India",dir="../data/",save=TRUE)

#Get the details of the bowler with the specified rank as a dataframe
df <- teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=1)
#Plot this
teamBowlersVsBatsmenAllOppnAllMatchesPlot(df,"India","India")

df <- teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="England",rank=1)
teamBowlersVsBatsmenAllOppnAllMatchesPlot(df,"India","England")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.