xyplot.etm {etm} | R Documentation |
xyplot method for object of class 'etm'
Description
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.
Usage
## S3 method for class '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, ...)
Arguments
x |
An object of class |
data |
Useless. |
tr.choice |
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. |
col |
Vector of colours for the curves. |
lty |
Vector of line types. |
xlab |
x-axis label. Default is "Time". |
ylab |
y-axis label. Default is "Estimated transition probability". |
conf.int |
Logical. Whether to draw pointwise confidence intervals. Default is TRUE. |
ci.fun |
A character vector specifying the transformation to be
applied to the pointwise confidence intervals. It could be different
for each transition probability, though if |
level |
Level of the two-sided confidence intervals. Default is 0.95. |
... |
Further arguments for |
Value
An object of class trellis
.
Author(s)
Arthur Allignol, arthur.allignol@gmail.com