Creates a ggplot
object/plot of scaled schoenfeld residuals
vs. (transformed) time.
1 | gg_scaledsch(fit, transform = "km")
|
fit |
the result of fitting a Cox regression model, using the
|
transform |
a character string specifying how the survival times should be transformed
before the test is performed.
Possible values are |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.