Skip to content

Error in lme4 rank of X = 28 < ncol(X) = 29

1 message · Ben Bolker

#
On 14-01-12 06:47 PM, Michael Williamson wrote:
DistanceSingerCat+Pods15Cat+SingersCat+Windspeed.km.h.+BoatPhs,random=~1|FocalID,family="nbinom1",
No, there isn't -- glmmADMB hasn't implemented this feature (yet).
You're welcome to look at the chkRank.drop.cols() function in
https://github.com/lme4/lme4/blob/master/R/modular.R to see how lme4
does it ... one way or the other, though, you're going to have to drop a
column.  You can use qr() or svd() to figure out which columns are
multicollinear ...

  I'm taking the liberty of cc'ing this back to r-sig-mixed-models.

 cheers
   Ben Bolker
15+
SingersCat+mial")
that may help -- the current development version automatically tries to
adjust the fixed-effect model matrix to get rid of rank deficiency.