View source: R/mod_plot_functions_max_rank.R
ps_streaks_get_max_rank_simple | R Documentation |
Given a year range and a list of teams and a value n, find the maximum
ps_streaks_get_max_rank_simple(lzy_streaks, n, min_year, max_year, teams)
lzy_streaks |
Lazy streaks table (possibly with a filter) |
n |
Function will maximize value of |
min_year |
Minimum year for filter |
max_year |
Maximum year for filter |
teams |
Vector of team IDs for filter. |
Note: This function is inefficient when the number number of intensity levels, teams and years is large.
Maximum value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.