calc_streak | R Documentation |
Calculate hit streaks
calc_streak(x)
x |
A character vector of hits ( |
A data frame with one column, length
, containing the length of
each hit streak.
data(kobe_basket)
calc_streak(kobe_basket$shot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.