plot_epp_ranking: Plot EPP Meta-Score Ranking

View source: R/plot_epp_ranking.R

plot_epp_rankingR Documentation

Plot EPP Meta-Score Ranking

Description

EPP Meta-Score values vs Aggregated values of Scores.

Usage

plot_epp_ranking(
  epp,
  aggregation = mean,
  confidence_intervals = FALSE,
  show_player_names = FALSE
)

Arguments

epp

epp_results. The result of a function calculate_epp.

aggregation

Function. Aggregation function, for example mean or median.

confidence_intervals

Logical. If confidence intervals should be plotted. Only for 'glm' estimation.

show_player_names

Logical. If Players' names should be shown.

Details

Naming convention, such as Player, Rounds, etc. comes from Gosiewska et al. (2020).

Value

gg

Examples

library(EloML)
data(auc_scores)
epp <- calculate_epp(
  auc_scores[1:60, ],
  keep_columns=TRUE,
  keep_model = TRUE,
  estimation ="glm"
  )
plot_epp_ranking(epp, confidence_intervals = TRUE, show_player_names = TRUE)


ModelOriented/EloML documentation built on June 22, 2022, 4:53 a.m.