<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body 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>
</body>
</html>