eloplot {EloRating} | R Documentation |
Elo rating plots
Description
plot Elo ratings for all or selected individuals over a specified time period
Usage
eloplot(
eloobject,
ids = "all",
interpolate = "yes",
from = "start",
to = "end",
color = TRUE
)
Arguments
eloobject |
elo object, output of |
ids |
character, |
interpolate |
character, by default ( |
from |
character, either |
to |
character, either |
color |
logical, the plot is either colored ( |
Details
For a visual inspection of an Elo object it is useful to plot the calculated trajectories. We recommend not to plot trajectories for more than 20 individuals at once.
Note also, if plots for IDs are requested that had observations on only one day, these IDs are excluded from plotting and a corresponding warning message is produced.
Value
a plot
Author(s)
Lars Kulik and Christof Neumann
Examples
data(adv)
SEQ <- elo.seq(winner=adv$winner, loser=adv$loser, Date=adv$Date)
eloplot(SEQ, ids="all", interpolate="yes", from="start", to="end",
color=TRUE)