Plot method for 'clos.etm' objects
Plot method for objects of class clos.etm
.
## S3 method for class 'clos.etm' plot(x, xlab = "Time", ylab.e = "Expected LOS", ylab.w = "Weights", xlim, ylim.e, ylim.w, col.e = c(1, 2), col.w = 1, lty.e = c(1, 1), lty.w = 1, legend = TRUE, legend.pos, curvlab, legend.bty = "n", ...)
x |
An object of class |
xlab |
Label for the x-axis |
ylab.e |
Label for the y-axis in the plot of the expected LOS |
ylab.w |
Label for the y-axis in the plot of the weights |
xlim |
Limits of x-axis for the plots |
ylim.e |
Limits of the y-axis for the expected LOS plot |
ylim.w |
Limits of the y-axis for the weights plot |
col.e |
Vector of colours for the plot of expected LOS |
col.w |
Vector of colours for the plot of the weights |
lty.e |
Vector of line type for the plot of expected LOS |
lty.w |
Vector of line type for the plot of the weights |
legend |
Logical. Whether to draw a legend for the plot of expected LOS |
legend.pos |
A vector giving the legend's position. See
|
curvlab |
Character or expression vector to appear in the
legend. Default is |
legend.bty |
Box type for the legend |
... |
Further arguments for plot |
Two graphs are drawn. The lower graph displays the expected LOS for patients who have experienced the intermediate event and for those who have not. The upper graph displays the weights used to compute the weighted average.
No value returned
Arthur Allignol arthur.allignol@gmail.com, Matthias Wangler
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.