dispBattingAveByPosPlayed: Displays Barplot of Players's Batting according to the...

Description Usage Arguments Value Examples

View source: R/batting.R

Description

This function takes in "Batting Summary" dataframe modified after splitBattingSummary and plots a player's batting position-wise batting average.

Usage

1

Arguments

data

Output of splitBattingSummary.

Value

Plots a player's batting position-wise batting average.

Examples

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

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