Skip to content
Prev 259157 / 398503 Next

Draw a nomogram after glm

Don't attach the Design package.  Use only rms.  Please provide the output of
lrm (print the f object).  With such a strong model make sure you do not
have a circularity somewhere.  With nomogram you can specify ranges for the
predictors; default is 10th smallest to 10th largest.

rms will not make customized nomograms such as the one you included.

Frank


Hi all R users, 
Thanks Frank for your advices
In fact I posted all my script. In the R Help, the script for nomogram is
long and I took only the part what I think interesting in my case. 
I use informations from( datadist {Design} and rms {rms}) in the help of R
software to do my code.  
I see that I progress with my nomogram. Because with the following code
where I put  my real variables names: 

library(Design)
library(rms)
d <- datadist(Fire)
options(datadist='d')
f<-lrm(Ignition~FMC+Charge,data=Fire)
summary(f,FMC=c(0,506.40),Charge=c(45,646)) # min and max of FMC: 0 ,506.40
and the min and max of Charge: 45, 646 
plot(Predict(f,FMC=0:506.40,Charge=646))
plot(nomogram(f, interact=list(Charge= c(.2,.7)))) # sorry, not understand
vector c(.2,.7) from R help  

As result, I have the figure 1 then figure 2 but there is a problem. Because
the 3rd line of Figure 2  "Charge" must to go 0 until 650. 
Also the linear predictor must to go 0 until 1. 
http://r.789695.n4.nabble.com/file/n3503828/nomo.jpeg 
http://r.789695.n4.nabble.com/file/n3503828/nomogram.jpeg 
After, is it possible to draw my nomogram like the 3rd graph that I found in
Internet, it is easier to understand.
http://r.789695.n4.nabble.com/file/n3503828/nogramme.bmp 
Nb: I  Apologize for my bad english
Thanks for your help
Komine 
PhD student 
Dakar _S?n?gal
West Africa
Komine wrote:

        
Komine wrote:

        
Komine wrote:

        
Komine wrote:
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/Draw-a-nomogram-after-glm-tp3498144p3503857.html
Sent from the R help mailing list archive at Nabble.com.