xyplot function for objects of class etm
. Estimates of the
transition probabilities are plotted as a function of time for all the
transitions specified by the user.
# S3 method for etm
xyplot(x, data = NULL, tr.choice, col = c(1, 1, 1),
lty = c(1, 3, 3), xlab = "Time",
ylab = "Transition probability",
conf.int = TRUE, ci.fun = "linear", level = 0.95, ...)
An object of class etm
.
Useless.
A character vector of the form c("from to", "from to", ...) specifying the transition probabilities to be plotted. By default, all the direct transition probabilities are displayed.
Vector of colours for the curves.
Vector of line types.
x-axis label. Default is "Time".
y-axis label. Default is "Estimated transition probability".
Logical. Whether to draw pointwise confidence intervals. Default is TRUE.
A character vector specifying the transformation to be
applied to the pointwise confidence intervals. It could be different
for each transition probability, though if length(ci.fun) !=
length(tr.choice)
, only ci.fun[1]
will be used. The
possible transformations are "linear", "log", "log-log" and
"cloglog". Default is "linear".
Level of the two-sided confidence intervals. Default is 0.95.
Further arguments for xyplot
.
An object of class trellis
.