Plot method for objects of class clos.etm
.
# S3 method for 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", ...)
No value returned
An object of class clos.etm
Label for the x-axis
Label for the y-axis in the plot of the expected LOS
Label for the y-axis in the plot of the weights
Limits of x-axis for the plots
Limits of the y-axis for the expected LOS plot
Limits of the y-axis for the weights plot
Vector of colours for the plot of expected LOS
Vector of colours for the plot of the weights
Vector of line type for the plot of expected LOS
Vector of line type for the plot of the weights
Logical. Whether to draw a legend for the plot of expected LOS
A vector giving the legend's position. See
legend
for details
Character or expression vector to appear in the
legend. Default is c("Intermediate event by time t", "No
intermediate event by time t")
Box type for the legend
Further arguments for plot
Arthur Allignol arthur.allignol@gmail.com, Matthias Wangler
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.
clos