Skip to content

plot Predicted survival probabilitie

2 messages · matteo pettinari, David Winsemius

#
On Jun 8, 2013, at 4:58 AM, matteo pettinari wrote:

            
Many functions in rms woek better with Predict()
You need to read:

?datadist

And then create a datyadist and don't do what I do all the time and for get to set the options()

The code you offer does not have the cph call which would have been needed to construct a proper datadist argument. Perhaps something like:

ddname <- datadist(yourdataframe)

options(datadist="ddname")
Please learn to post in plain text.


David Winsemius
Alameda, CA, USA