fours | R Documentation |
Find a batsman's total number of fours
fours(player_name, yr)
player_name |
A batsman for whom we want to calculate the number of fours they scored |
yr |
The year for which the number of fours for the given batsman is to be calculated |
fours
return number of fours for the given player as a value
library(ipl) # Find the total number of fours scored by Suresh Raina in the 2014 IPL season fours("SK Raina", 2014)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.