Re: [R] rcspline.problem

2012-07-20 Thread Bart Ferket
Dear Peter, This indeed resolves the problem. Many thanks. My apologies for not starting a new thread. I am a new R user and not yet fully integrated into the R community. Kind regards, Bart Ferket -- View this message in context:

Re: [R] rcspline.problem

2012-07-19 Thread Bart Ferket
Dear professor Harrell, I probably have the same problem as Haleh Ghaem Maralani. I am using the rms package and the rcspline.plot function to assess the relation of a continuous predictor to the log hazard function. I would like to use the adj statement, for example using this test dataset:

Re: [R] rcspline.problem

2012-07-19 Thread Peter Ehlers
On 2012-07-19 07:10, Bart Ferket wrote: Dear professor Harrell, I probably have the same problem as Haleh Ghaem Maralani. I am using the rms package and the rcspline.plot function to assess the relation of a continuous predictor to the log hazard function. I would like to use the adj

[R] rcspline.problem

2011-05-06 Thread Haleh Ghaem Maralani
Dear Dr ; I am a PhD student at Epidemiology department of National University of Singapore. I used R command (rcspline.plot) for plotting restricted cubic spline – the model is based on Cox. I managed to get a plot without adjustment for other covariates, but I have a

Re: [R] rcspline.problem

2011-05-06 Thread Frank Harrell
Please follow the posting guide. You didn't state which package you are using and didn't include a trivial self-reproducing example that causes the error. For your purpose the rms package is going to plot restricted cubic spline fits (and shaded confidence bands) more flexibly. Frank Haleh