get_cox_qc_plots | R Documentation |
Generates standard residual plots for a CoxPH model: residuals vs fitted, stabdardized residuals vs fitted, squared standardized residuals vs fitted and a quantile-quantile plot of the standardized residuals.
get_cox_qc_plots(
cox_model,
data = NULL,
cust_theme = ggplot2::theme_classic(),
...
)
cox_model |
a CoxpPH model or a coxex object. |
data |
the data frame used for the model construction. Ignored, if coxex object provided. |
cust_theme |
a custom ggplot theme. |
... |
extra arguments passed to |
a list of ggplot objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.