Displaying 1 result from an estimated 1 matches for "nomorgam".
Did you mean:
nomogram
2010 May 19
1
Nomogram with multiple interactions (package rms)
...psm(Surv(d.time,death) ~ sex*age, dist=if(.R.)'lognormal' else 'gaussian')
Let's add the previously defined blood.pressure effect with an interaction with sex too (with cph) :
f2 <- cph(Surv(d.time,death) ~ sex*(age+blood.pressure))
I thought of the parameter adt.to :
plot(nomorgam(f2, adj.to=list(sex="male")) #and "female" for the other one
But nomogram() still wants me to define interact=list(...)
Thanks for any advice you might have (with adj.to or any alternative...)
Marc Carpentier