Description Usage Arguments Details Examples
For two strata, estimates the standard error of the difference in two Kaplan-Meier estimates at each value of times, and plots half-width of confidence level for the difference, centered at the midpoint of the survival estimates.
1 2 | plotKmHalfCL(fit, times, fun = function(x) x, offset = 0,
lwd = 0.5, lty = 1)
|
fit |
survfit object. See
|
times |
numeric vector. Time value for each record. |
fun |
function. Function to plot estimates. |
offset |
numeric. Offset value to apply to ‘x’ coordinate points. |
lwd |
numeric. The line width, passed to
|
lty |
numeric. The line type, passed to
|
details
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.