wickets_taken: This function returns the number of wickets taken for the...

View source: R/wickets_taken.R

wickets_takenR Documentation

This function returns the number of wickets taken for the player

Description

This function returns the number of wickets taken for the player

Usage

wickets_taken(player_name)

Arguments

player_name

The name of the given player for whom we want to calculate the number of wickets taken

Value

num_wickets number of wickets taken by the given bowler

Examples


library(ipl)

# Returns the number of wickets taken by Rahul Sharma
wickets_taken("Rahul Sharma")

Swaha294/ipl documentation built on May 10, 2022, 3:23 p.m.