Plot Player Features Across Time for a Rating Object
Plot line traces of estimated ratings or other features for
selected players. This function can only be used if the full
history is retained in the object x
.
## S3 method for class 'rating' plot(x, which = "Rating", players = NULL, t0 = 1, tv = NULL, npl = 10, random = FALSE, xlab = "Time Period", ylab = paste(x$type," Ratings"), main = paste(x$type," Ratings System"), inflation = FALSE, add=FALSE, ...)
x |
An object of class |
which |
The variable to be plotted. |
players |
If not |
t0 |
The time index at which to begin. Note that unless players
are specified explicitly, players who do not play at time index
|
tv |
If not |
npl |
The number of players to select. |
random |
If |
xlab,ylab,main |
Graphical parameters. |
inflation |
If |
add |
Add to an existing plot. |
... |
Other parameters to be passed through to plotting functions. |
Note that the argument random
is not used by default, since it can
produce flat profiles from randomly selected players who play few games.
The default selection is non-random and selects more active players,
however they may be more likely to improve over time than the
general population.
afl <- aflodds[,c(2,3,4,7)] robj <- steph(afl, history=TRUE) plot(robj) robj <- elom(riichi, history = TRUE) pl <- robj$ratings$Player[robj$ratings$Games >= 80] plot(robj, players = pl)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.