xyplot function for objects of class mvna
. Estimates of the
cumulative hazards are plotted as a function of time for all the
transitions specified by the user. The function can also plot
several types of pointwise confidence interval (see Andersen et
al. (1993) p.208).
# S3 method for mvna
xyplot(x, data = NULL, xlab = "Time",
ylab = "Cumulative Hazard", tr.choice = "all",
conf.int = TRUE, var.type = c("aalen", "greenwood"),
ci.fun = c("log", "linear", "arcsin"), level = 0.95,
col = c(1, 1, 1), lty = c(1, 3, 3),
ci.type = c(1, 2), ...)
An object of class mvna
.
Useless.
x-axis label. Default is "Time".
y-axis label. Default is "Cumulative Hazard"
A character vector of the form c("from to","from
to")
specifying which transitions should be plotted. Default is "all".
A logical whether plot pointwise confidence interval. Default is TRUE
One of "aalen" or "greenwood". Specifies which variance estimator is used to compute the confidence intervals.
One of "log", "linear" or "arcsin". Indicates the transformation applied to the pointwise confidence intervals. Default is "log".
Level of the confidence interval. Default is 0.95.
Vector of colour for the plot. Default is black.
Vector of line type. Default is c(1, 3, 3)
.
DEPRECATED
Other arguments for xyplot.
An object of class trellis
.
Andersen, P.K., Borgan, O., Gill, R.D. and Keiding, N. (1993). Statistical models based on counting processes. Springer Series in Statistics. New York, NY: Springer.
Deepayan Sarkar (2006). lattice: Lattice Graphics. R package version 0.13-8.