Description Usage Arguments See Also Examples
View source: R/plot.survfit.lixc.R
Survival curve visualization with additional information.
1 |
survdiff.formula |
An appropriate formula passed to |
data |
A data frame to be operated, column names must match those in the formula. |
ci.lab.xycoord |
The x and y coordinates for confidence interval. |
legend.xycoord |
The x and y coordinates for legend. |
col |
Color for KM survival curves. |
no.ci.lab |
Do not add confident interval in the plot. |
pngfig |
A figure suffixed with .png, in which figure will be saved. |
... |
Parameters passed to |
1 2 3 4 5 | library(survival)
data("crcdat", package='lxctk')
survdiff.formula <- as.formula("Surv(Survival.month, status) ~ hypermutated>0")
#survdiff.formula <- Surv(Survival.month, status) ~ hypermutated>0
plot.survfit.lixc(survdiff.formula, data=crcdat, main="Hypermutated")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.