runs: Calculates the number of runs for the given bowler

View source: R/runs.R

runsR Documentation

Calculates the number of runs for the given bowler

Description

Calculates the number of runs for the given bowler

Usage

runs(player_name)

Arguments

player_name

The bowler whose runs has to be calculated, as a character vector

Value

runs returns the number of runs conceded by the given bowler

Examples


library(ipl)

# Calculates the number of runs for Rahul Sharma
runs("Rahul Sharma")

Swaha294/ipl2 documentation built on May 8, 2022, 3:38 p.m.