R: Plot method for 'clos.etm' objects

plot.clos.etm {etm} | R Documentation

## Plot method for 'clos.etm' objects

### Description

Plot method for objects of class `clos.etm`.

### Usage

    ## 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", ...)

### Arguments

`x` | An object of class `clos.etm`
`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 `legend` for details
`curvlab` | Character or expression vector to appear in the legend. Default is `c("Intermediate event by time t", "No intermediate event by time t")`
`legend.bty` | Box type for the legend
`...` | Further arguments for plot

### Details

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.

### Value

No value returned

### Author(s)

Arthur Allignol arthur.allignol@gmail.com, Matthias Wangler

### See Also

`clos`

[Package etm version 1.1 Index]