0

My Code:

sigMod <- coxph(Surv(time, DEATH_EVENT) ~ age+anaemia+creatinine_phosphokinase+ejection_fraction+
                serum_creatinine+hypertension, data=HF)

ggcoxdiagnostics(sigMod, type = "martingale", 
                 linear.predictions = FALSE,
                 ggtheme = theme_bw(),
                 )

Picture

There is an observation at around the 50-line mark with an extreme residual at the bottom of the graph. How would I go about getting it?

Antonio
  • 417
  • 2
  • 8
  • 1
    Please read [How to make a great R reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example), and consider editing your answer to add the output from `dput(HF)` :) – Ricardo Semião e Castro Nov 11 '22 at 01:21

0 Answers0