[R] GLMM(..., family=binomial(link="cloglog"))?

Douglas Bates bates at stat.wisc.edu
Mon Jun 7 21:28:39 CEST 2004


Spencer Graves <spencer.graves at pdf.com> writes:

>       Thanks, Andy, Doug, Deepayan.  I now have lme4 0.6-1 2004/05/31
> installed for R 1.9.1 alpha under Windows 2000.  When I tried the
> example below, GLMM ran, but the print method reported an error:
> Generalized Linear Mixed Model

As I write this I am uploading lme4_0.6-2 to the incoming area at
CRAN.  This version fixes that bug (I neglected to add drop=FALSE in a
subsetting operation in the show method for the summary.ssclme class.)

You can see the details of the fix at
  http://bates4.stat.wisc.edu:2180/cgi-bin/viewcvs.cgi/trunk/lme4/R/ssclme.R
or

/home/bates/src/Rlibs/lme4 $ svn diff -r 209 R/ssclme.R
Index: R/ssclme.R
===================================================================
--- R/ssclme.R	(revision 209)
+++ R/ssclme.R	(working copy)
@@ -205,7 +205,7 @@
                       cm = cbind(cm, stat, pval)
                       colnames(cm) = c(nms, "t value", "Pr(>|t|)")
                   } else {
-                      cm = cm[, 1:2]
+                      cm = cm[, 1:2, drop = FALSE]
                       stat = cm[,1]/cm[,2]
                       pval = 2*pnorm(abs(stat), lower = FALSE)
                       nms = colnames(cm)




More information about the R-help mailing list