Skip to content
Back to formatted view

Raw Message

Message-ID: <1321066307931-4033414.post@n4.nabble.com>
Date: 2011-11-12T02:51:47Z
From: Frank E Harrell Jr
Subject: Odds ratios from lrm plot
In-Reply-To: <1321063699793-4033340.post@n4.nabble.com>

The Design package is obsolete.  Use its replacement rms - see
http://biostat.mc.vanderbilt.edu/Rrms.  Use something like the following to
reproduce what you already have:

To plot odds ratios against a specific value of x2 and at a specific x1,
type ?contrast.rms to see examples.
Frank

RD235 wrote:
> 
> The code
> 
> library(Design)
> f <- lrm(y~x1+x2+x1*x2, data=data)
> plot(f)
> 
> produces a plot of log odds vs x2 with 0.95 confidence intervals. How do I
> get a plot of odds ratios vs x2 instead?
> 
> Thanks
> 


-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/Odds-ratios-from-lrm-plot-tp4033340p4033414.html
Sent from the R help mailing list archive at Nabble.com.