<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">This is an example of the trouble that can happen when the same information is in multiple locations and people (understandably) only have the energy to update the information in a subset of the locations. <div><br></div><div>I guess the information at <a class="moz-txt-link-freetext" href="http://admb-project.org/examples/r-stuff/glmmadmb">http://admb-project.org/examples/r-stuff/glmmadmb</a> is not current. I'll try to fix this.</div><div>Mollie</div><div><div>
</div>
<br><div><div>On 10 Nov 2011, at 4:42 PM, Mollie Brooks wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Chris, <div>I get the same error as you when I run </div><div>fit = glmmadmb(y~Base*trt+Age+Visit,random=~Visit,group="subject",data=epil2,family="nbinom")</div><div>but this works</div><div>fit = glmmadmb(y~Base*trt+Age+Visit+(Visit|subject),data=epil2,family="nbinom")</div><div><br></div><div>So I guess you have the newer version of glmmADMB (like me) and I guess it requires this syntax.</div><div>cheers,</div><div>Mollie</div><div><br><div>
Mollie Brooks<br>Ph.D. Candidate<br>NSF IGERT Fellow<br>Biology Department<br>University of Florida<br><a href="mailto:mbrooks@ufl.edu">mbrooks@ufl.edu</a><br><a href="http://people.biology.ufl.edu/mbrooks">http://people.biology.ufl.edu/mbrooks</a><br><br><br><br>
</div>
<br><div><div>On 10 Nov 2011, at 4:01 PM, Christopher Smith wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">



<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

<div bgcolor="#ffffff" text="#000000">
<font face="Times New Roman, Times, serif">Hello,<br>
<br>
</font>I am fairly new to R but am attempting to use GLMMs with neg.
bin. distribution to analyze count data. (I have successful done this
using glmer() and glm.nb() ). I am having trouble getting the function
glmmabmb() to work, even for the example provided at:
<a class="moz-txt-link-freetext" href="http://admb-project.org/examples/r-stuff/glmmadmb">http://admb-project.org/examples/r-stuff/glmmadmb</a><br>
<br>
I am getting the error, <br>
<br>
> fit =
glmmadmb(y~Base*trt+Age+Visit,random=~Visit,group="subject",data=epil2,family="nbinom")<br>
Error in glmmadmb(y ~ Base * trt + Age + Visit, random = ~Visit, group
= "subject",  : <br>
  unused argument(s) (group = "subject")<br>
<br>
<br>
And/or<br>
<br>
> fit =
glmmadmb(y~Base*trt+Age+Visit,random=~Visit,data=epil2,family="nbinom")<br>
Error in `colnames<-`(`*tmp*`, value = character(0)) : <br>
  attempt to set colnames on object with less than two dimensions<br>
<br>
The second error is the same error I get when trying to use the
function with my data. <br>
<br>
E.g., <br>
<br>
> glmmadmb(ANAM~tmin+CWD,family="nbinom",random=~Day)<br>
Error in `colnames<-`(`*tmp*`, value = character(0)) : <br>
  attempt to set colnames on object with less than two dimensions<br>
<br>
<br>
I am on a Mac (OS X 10.5.8) running R (2.12- 32bit). Any advice? <br>
<br>
Thanks,<br>
Chris<br>
</div>

_______________________________________________<br>Users mailing list<br><a href="mailto:Users@admb-project.org">Users@admb-project.org</a><br><a href="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</a><br></blockquote></div><br></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@admb-project.org">Users@admb-project.org</a><br>http://lists.admb-project.org/mailman/listinfo/users<br></blockquote></div><br></div></body></html>