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 etm.
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 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 Level of the two-sided confidence intervals. Default is 0.95.
... Further arguments for xyplot.

Value

An object of class trellis.

Author(s)

Arthur Allignol, arthur.allignol@fdm.uni-freiburg.de

See Also

etm, xyplot


[Package etm version 0.4-7 Index]