Re: [R] Error in x[good, ] * w : non-conformable arrays

From: Mark Clements <Mark.Clements_at_anu.edu.au>
Date: Tue 09 May 2006 - 12:27:39 EST


>From posts in Sep 2004 and Feb 2005, glm() was raising "Error in x[good, ] * w : non-conformable arrays". I can reproduce this error using:

df1 = data.frame(u=1:10,
                 v=rpois(10,10),
                 z=array(1,10,dimnames=list(1:10)))
glm(v~u+offset(log(z)), data=df1, family=poisson)

With kind regards, Mark Clements.

https://stat.ethz.ch/pipermail/r-help/2005-February/066784.html https://stat.ethz.ch/pipermail/r-help/2004-September/057888.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue May 09 12:32:37 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 09 May 2006 - 22:10:01 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.