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
)
Value
a plot
Arguments
eloobject
elo object, output of elo.seq function
ids
character, "all" will plot trajectories for all individuals within the dataset. "first.20" will plot the 20 first individuals. "random.20" will plot 20 randomly chosen individuals from the dataset. Alternatively, provide a list of individual IDs.
interpolate
character, by default ("yes") plot interpolated Elo values or plot Elo values without interpolation ("no")
from
character, either "start", i.e. the plotted date range will start at the first date of the dataset, or provide a custom date ("YYYY-MM-DD")
to
character, either "end", i.e. the plotted date range will end at the last date of the dataset, or provide a custom date ("YYYY-MM-DD")
color
logical, the plot is either colored (TRUE) or in black and white with symbols
Author
Lars Kulik and Christof Neumann
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.