splitBattingSummary: Splits Batting Summary data into different categories

Description Usage Arguments Value Examples

View source: R/batting.R

Description

This function takes in "Batting Summary" dataframe and returns a list comprising data segregated into different categories that can inferred from a Players's Batting Summary.

Usage

1

Arguments

data

Output of getBattingSummary().

MatchType

Type of Match Played (1 for Test; 2 for ODI; 3 for T20I ; 11 for All)

Value

Returns a list comprising data segregated into different categories of Batting Summary statistics

Examples

1
2
sachin = getBattingSummary(35320,1)
sachin1 = splitBattingSummary(sachin,1)

npranav10/statsguRu documentation built on Jan. 24, 2021, 9:39 p.m.