Closed MarcinKosinski closed 7 years ago
Mason,
This will be possible after merging this pull request https://github.com/kassambara/survminer/pull/76
library(survival)
fit <- coxph(Surv(futime, fustat) ~ age + ecog.ps + rx, data=ovarian)
cox.zph.fit <- cox.zph(fit)
library(survminer)
ggcoxzph(cox.zph.fit)
# change the plots order
ggcoxzph(cox.zph.fit, var = c("ecog.ps", "rx", "age"))
# plot only specified vairables
ggcoxzph(cox.zph.fit, var = c("ecog.ps", "rx"))
Thanks for reporting this issue.
Till that time you can install survminer
from my fork
devtools::install_github('MarcinKosinski/survminer')
pull request merged now:-)!
That works great now! Thanks for responding so quickly
Mason Burley
User private e-mail
I'll answer in a second.