[R] GLMM(..., family=binomial(link="cloglog"))?
Spencer Graves
spencer.graves at pdf.com
Mon Jun 7 21:44:27 CEST 2004
Hi, Doug:
Thanks. I ran 'tst <- getMethod("show", "summary.ssclme")', then
edited tst as you indicated and ran 'setMethod("show", "summary.ssclme",
tst)', and it fixed the problem.
Best Wishes,
spencer graves
Douglas Bates wrote:
>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)
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
More information about the R-help
mailing list