Team batting scorecard against all oppositions in all matches

Description

This function omputes and returns the batting scorecard of a team in all matches against all oppositions. The data frame has the ball played, 4's,6's and runs scored by batsman

Usage

1

Arguments

matches

All matches of the team in all matches with all oppositions

theTeam

The team for which the the batting partnerships are sought

Value

details The data frame of the scorecard of the team in all matches against all oppositions

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

teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBowlingWicketRunsAllOppnAllMatches

Examples

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

# This can also be loaded from saved file
# load("allMatchesAllOpposition-India.RData")

# Top batsman is displayed in descending order of runs
teamBattingScorecardAllOppnAllMatches(matches,theTeam="India")

# The best England players scorecard against India is shown
teamBattingScorecardAllOppnAllMatches(matches,theTeam="England")

## End(Not run)

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