xyplot.etm: xyplot method for object of class 'etm'

Description Usage Arguments Value Author(s) See Also

View source: R/xyplot.etm.R

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

1
2
3
4
5
## 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@gmail.com

See Also

etm, xyplot


etm documentation built on Sept. 8, 2020, 5:06 p.m.