Description Usage Arguments Value
View source: R/coxph_utility.R
Extract scaled Schoenfeld residuals from
coxph
object in tidy format.
1 | get_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 |
A tidy data frame containing the (transformed) time and scaled
Schoenfeld residuals for the variables used in fit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.