From feodor at stat.ku.dk  Mon Jan  7 14:40:05 2008
From: feodor at stat.ku.dk (feodor at stat.ku.dk)
Date: Mon,  7 Jan 2008 14:40:05 +0100 (CET)
Subject: [Rd] xtable (PR#10553)
Message-ID: <20080107134005.98C5E2834851@mail.pubhealth.ku.dk>

Full_Name: Soren Feodor Nielsen
Version: 2.5.0
OS: linux-gnu
Submission from: (NULL) (130.225.103.21)


The print-out of xtable in the following example is wrong; instead of yielding
the correct ci's for the second model it repeats the ci's from the first model.


require(xtable)
require(MASS)
data(cats)
b1<-lm(Hwt~Sex,cats)
b2<-lm(Hwt~Sex+Bwt,cats)
cbind(c(coef(b1),NA),rbind(confint(b1),c(NA,NA)),coef(b2),confint(b2))
xtable(cbind(c(coef(b1),NA),rbind(confint(b1),c(NA,NA)),coef(b2),confint(b2)))



[Rd] xtable (PR#10553)
feodor at stat.ku.dk