Re: [R] Draw a nomogram after glm

From: Komine <momadou_at_yahoo.fr>
Date: Fri, 06 May 2011 00:35:40 -0700 (PDT)

Hi,
I use datadist fonction in rms library in order to draw my nomogram. After reading, I try this code:
f<-lrm(Y~L+P,data=donnee)
f <- lrm(Y~L+P,data=donnee)
d <- datadist(f,data=donnee)
options(datadist="d")

f <- lrm(Y~L+P)          
summary(f,L=c(0,506,10),P=c(45,646,10))        
plot(Predict(f,L=200:800,P=3))  

Unfortunately, I have error after the 2nd code: Erreur dans datadist(f, data = donnee) : program logic error

Please could you provide me a document more simple which is more understandable for new R user.
Thanks for your help.

Komine

--
View this message in context: http://r.789695.n4.nabble.com/Draw-a-nomogram-after-glm-tp3498144p3501534.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 06 May 2011 - 08:07:10 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 06 May 2011 - 13:10:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive