Skip to content

The contrast and Design libraries

4 messages · Joanne Lello, R. Michael Weylandt, Frank E Harrell Jr +1 more

#
On another list it was reported that a new version of contrast was
uploaded to CRAN earlier today that makes use of Design's replacement
"rms". Wait a day or two and then download this updated version and
rms.

http://www.mail-archive.com/r-sig-mac at r-project.org/msg00924.html


Michael
On Thu, Nov 24, 2011 at 12:23 PM, Joanne Lello <LelloJ at cardiff.ac.uk> wrote:
#
Note that you can do what you specified using only the rms package:
require(rms)
f <- Glm(propalive~exptime+infstat*status, 
        data=dat)
contrast(f,
   a = list(status = levels(dat$status), infstat="control", exptime=8230),
   b = list(status = levels(dat$status), infstat="infected",exptime=8230))
Frank

Joanne Lello wrote
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/The-contrast-and-Design-libraries-tp4106321p4109210.html
Sent from the R help mailing list archive at Nabble.com.
#
On Thu, Nov 24, 2011 at 9:23 AM, Joanne Lello <LelloJ at cardiff.ac.uk> wrote:
They're packages!

[snip]

For the sake of the good Martin Maechler,

Josh