teamBatsmenPartnershipAllOppnAllMatches: Team batting partnership in all matches all oppositions

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/teamBatsmenPartnershipAllOppnAllMatches.R

Description

This function computes the batting partnership of a team againt all oppositions in all matches This function returns a dataframe which is a summary of the batsman with the highest partnerships or the partnership of an individual batsman

Usage

1
teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam,report="summary")

Arguments

matches

All the matches of the team against all oppositions

theTeam

The team for which the the batting partnerships are sought

report

if the report="summary" then the data frame returned gives a list of the batsmen with the highest partnerships. If report="detailed" then the detailed breakup of the partnership is returned.

Value

partnerships The data frame with the partnerships

Note

Maintainer: Tinniam V Ganesh [email protected]

Author(s)

Tinniam V Ganesh

References

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

See Also

teamBatsmenVsBowlersAllOppnAllMatchesPlot
teamBatsmenPartnershipOppnAllMatchesChart
teamBatsmenPartnershipAllOppnAllMatchesPlot
teamBatsmenVsBowlersOppnAllMatches

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# Get all matches for team India against all oppositions
m <-teamBattingScorecardAllOppnAllMatches(matches,theTeam="India")
# Get the  summary report
teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam='India')

# Get the detailed report
teamBatsmenPartnershipAllOppnAllMatches(matches,theTeam='India',report="detailed")

## End(Not run)

yorkr documentation built on May 29, 2017, 11:33 a.m.