report of Team bowlers vs batsmen against all opposition all matches

Description

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

Usage

1

Arguments

matches

the data frame of all matches between a team and aall opposition and all obtained with the call getAllMatchesAllOpposition()

theTeam

The team against which the performance is requires

rank

When the rank is 0 then the performance of all the bowlers is displayed. If rank=n (1,2,3 ..) then the performance of that bowler is given

Value

dataframe The dataframe with all performances

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
teamBowlersVsBatsmenAllOppnAllMatchesPlot

Examples

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

# You could also load directly from the saved file
#load("allMatchesAllOpposition-India.RData")
# The call below gives the best bowlers against India
teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=0)

# The call with rank=1 gives the performace of the bowler with rank
 teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,theTeam="India",rank=1)

# The call below gives the overall performance of India bowlers against South Africa
 teamBatsmenVsBowlersAllOppnAllMatchesRept(matches,"South Africa",rank=0)

# The call below gives the performance of best Indias bowlers against Australia
teamBowlersVsBatsmenAllOppnAllMatchesRept(matches,"Australia",rank=1)

## End(Not run)

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