Andrew Gelman <[EMAIL PROTECTED]> writes: > Error in "rownames<-"(x, value) : attempt to set rownames on object with > no dimensions .... > Am I doing something stupid here or is it actually a (minor) bug?
The latter. There's a drop=FALSE missing in the coef() method, specifically in the line val <- lapply(ref, function(x) fef[rep(1, nrow(x)), ]) which should read val <- lapply(ref, function(x) fef[rep(1, nrow(x)), , drop=FALSE]) -- O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
