plot.coxex | R Documentation |
Plots a coxex object: diagnostic graphs of residuals (type = 'residuals') or outcome vs fitted Kaplan-Meier plot ('fit').
## S3 method for class 'coxex'
plot(
x,
type = c("fit", "residuals"),
cust_theme = survminer::theme_survminer(),
...
)
x |
a coxex object. |
type |
type of the plots, 'fit' by default. |
cust_theme |
customized plot theme provided by the user. |
... |
extra arguments passed to |
a ggplot or a list of ggplot residual plots.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.