View source: R/plot_wins_ratio.R
plot_wins_ratio | R Documentation |
Plot of an empirical probability of winning versus probability of winning estimated from EPP values.
plot_wins_ratio(epp, random_sample = NULL, random_state = NULL)
epp |
epp_results. The result of a function |
random_sample |
Numeric. If not NULL |
random_state |
Numeric. Seed for sampling Players. Used only when |
Naming convention, such as Player, Rounds, etc. comes from Gosiewska et al. (2020).
gg
library(EloML) data(auc_scores) epp <- calculate_epp( auc_scores[1:100, ], keep_columns=TRUE, keep_model = TRUE, estimation ="glm" ) plot_wins_ratio(epp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.