Displaying 1 result from an estimated 1 matches for "coxfitu".
Did you mean:
coxfit
2009 Jun 09
2
Isolating a single plot from plots produced simultaneously
...second plot produced (the estimated functional
form of the influence of age on the log relative hazard) so that I can
use the 'points' function to add the linear predictors for the
untransformed and the log-transformed models. In the usual situation
one would produce a plot and then type:
coxfitu <- coxph(Surv(rem.Remtime,rem.Rcens)~age+strata(rpa),data=nearma)
points(coxfitu$linear.predictor,col=2)
coxfitl <- coxph(Surv(rem.Remtime,rem.Rcens)~log(age)+strata(rpa),data=nearma)
points(coxfitl$linear.predictor,col=3)
Can anyone tell me how to isolate just the second plot produced?
Tha...