[R] Nomogram with stratified cph in Design package-- failure probability

2011-11-29 Thread min
Hello, I am using Dr. Harrell's design package to make a nomogram. I was able to make a beautiful one. However, I want to change 5-year survival probability to 5-year failure probability. I couldn’t get hazard rate from Hazard(f1) because I used cph for the model. Here is my code: f1 <- cph

Re: [R] Nomogram with stratified cph in Design package-- failure probability

2011-11-29 Thread min
sorry the code for nomogram par(cex=0.8) nom<- nomogram(f1, conf.int=F, fun=list(surv5, surv10), funlabel=c('5-Year Survival Probability', '10-Year Survival Probability' ), lp=F, fun.at=c(at.surv, at.surv),label.every=1, force.label=FALSE, cex.axis=0.8, verbose=TRUE, cex.var=0.8) Thanks Min

Re: [R] Nomogram with stratified cph in Design package-- failure probability

2011-11-29 Thread Frank Harrell
Please convert to rms. Design is no longer supported. See http://biostat.mc.vanderbilt.edu/Rrms Frank min wrote > > sorry the code for nomogram > > par(cex=0.8) > nom<- nomogram(f1, conf.int=F, > fun=list(surv5, surv10), funlabel=c('5-Year Survival Probability', > '10-Year Survival Probabilit

Re: [R] Nomogram with stratified cph in Design package

2009-05-02 Thread Frank E Harrell Jr
"Surv Oth","Med surv pap", "Med surv Fol","Med Surv Oth"), fun.at=list(at.surv, at.surv, at.surv, at.med, at.med, at.med), varname.label=FALSE, maxscale=100) title("stratified nomogram") -Original Message

Re: [R] Nomogram with stratified cph in Design package

2009-04-26 Thread Frank E Harrell Jr
David Winsemius wrote: On Apr 25, 2009, at 6:57 PM, reneepark wrote: Hello, I am using Dr. Harrell's design package to make a nomogram. I was able to make a beautiful one without stratifying, however, I will need to stratify to meet PH assumptions. This is where I go wrong, but I'm not sure

Re: [R] Nomogram with stratified cph in Design package

2009-04-26 Thread reneepark
I'm sorry - I meant a "median survival" estimate, not a median "risk." I see - I didn't realize that by stratifying it would pool the levels of the stratified variable. Hm, that is unfortunate, considering the stratified variable is one that I would like to keep in the nomogram. Thank you for yo

Re: [R] Nomogram with stratified cph in Design package

2009-04-25 Thread David Winsemius
On Apr 25, 2009, at 6:57 PM, reneepark wrote: Hello, I am using Dr. Harrell's design package to make a nomogram. I was able to make a beautiful one without stratifying, however, I will need to stratify to meet PH assumptions. This is where I go wrong, but I'm not sure where. Non-Stra

[R] Nomogram with stratified cph in Design package

2009-04-25 Thread reneepark
Hello, I am using Dr. Harrell's design package to make a nomogram. I was able to make a beautiful one without stratifying, however, I will need to stratify to meet PH assumptions. This is where I go wrong, but I'm not sure where.