The problem posed was the following:
> fit <- coxph(
> zp <- cox.zph(fit)
> plot(zp[1])
Error in plot.window(xlim, ylim, log, asp, ...) :
need finite 'ylim' values
There were 21 covariates, but over 7000 events, so the Cox model fits ok.
After sending me t
Hello,
I got error message when applying the plot function to the cox.zph
object to create the Schoenfeld residual plots.
> plot(zph.revasFit[1])
Error in plot.window(xlim, ylim, log, asp, ...) :
need finite 'ylim' values
In addition: Warning messages:
1: NaNs produced in: sqrt(x$var
2 matches
Mail list logo