Description Usage Arguments Value Examples
This function counts the number of batting records you put in.
1 | factor_count(data, record_factor)
|
data |
KBO batter data |
record_factor |
This is the category of batting to find, and it should be a string type. |
Sum of the batter records in every innings
1 2 3 4 5 | ## internal function
lee <- find_player(hanhwa_batter_2018,"<ec><9d><b4><ec><9a><a9><ea><b7><9c>",NULL)
inning <- c('one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve')
inning_data <- subset(lee,select=inning)
factor_count(data=inning_data,record_factor="10")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.