Re: [R] plotting spline term when frailty term is included

2016-03-02 Thread Therneau, Terry M., Ph.D.
On 03/02/2016 05:00 AM, r-help-requ...@r-project.org wrote: I'd very much appreciate your help in resolving a problem that I'm having with plotting a spline term. I have a Cox PH model including a smoothing spline and a frailty term as follows: fit<-coxph(Surv(start,end,exit) ~ x + pspl

Re: [R] plotting spline term when frailty term is included

2016-03-01 Thread David Winsemius
> On Mar 1, 2016, at 2:59 AM, Conor Edward Little wrote: > > Dear colleagues, > > I'd very much appreciate your help in resolving a problem that I'm having > with plotting a spline term. > > I have a Cox PH model including a smoothing spline and a frailty term as > follows: > > fit<-coxph

[R] plotting spline term when frailty term is included

2016-03-01 Thread Conor Edward Little
Dear colleagues, I'd very much appreciate your help in resolving a problem that I'm having with plotting a spline term. I have a Cox PH model including a smoothing spline and a frailty term as follows: fit<-coxph(Surv(start,end,exit) ~ x + pspline(z) + frailty(a)) When I run a model withou