[R] setCoefTemplate

From: Sebastián Daza <sebastian.daza_at_gmail.com>
Date: Thu, 01 May 2008 11:42:42 -0500

Hi everyone,
I am trying to build a table putting standard errors horizontally. I haven't been able to do it.

berkeley <- aggregate(Table(Admit,Freq)~.,data=UCBAdmissions)

berk0 <- glm(cbind(Admitted,Rejected)~1,data=berkeley,family="binomial") berk1 <-
glm(cbind(Admitted,Rejected)~Gender,data=berkeley,family="binomial") berk2 <-

setCoefTemplate(est.se=c(est = "($est:#)($se:#)"))

+ coef.style="est.se",
+ summary.stats=c("Deviance","AIC","N"))
Error in dim(ans) <- newdims :

   dims [product 1] do not match the length of object [2]

Thank you in advance.

Sebastián Daza

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sun 03 Apr 2011 - 20:29:27 GMT

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 Sun 03 Apr 2011 - 20:30:27 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