Message-ID: <1304686571427-3502614.post@n4.nabble.com>
Date: 2011-05-06T12:56:11Z
From: Frank E Harrell Jr
Subject: Draw a nomogram after glm
In-Reply-To: <1304667340965-3501534.post@n4.nabble.com>
Please post the entire script next time, e.g., include require(rms). You
have one line duplicated. Put this before the first use of lrm: d <-
datadist(donnee); options(datadist='d')
Frank
Komine wrote:
>
> 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
>
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/Draw-a-nomogram-after-glm-tp3498144p3502614.html
Sent from the R help mailing list archive at Nabble.com.