View source: R/mod_plot_functions_max_rank.R
ps_streaks_get_max_rank | R Documentation |
Given a year range and a list of teams and a value n, find an estimate of the maximum of the nth highest rank over all intensity levels.
ps_streaks_get_max_rank(lzy_streaks, n, min_year, max_year, teams, hot)
lzy_streaks |
Lazy streaks table |
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. |
hot |
If |
This function is a wrapper around ps_streaks_get_max_rank_simple
and
ps_streaks_get_max_rank_by_sampling
and will decide the appropriate
function and parameters to use based on the number of years and
the number of teams.
Max value estimate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.