[R] lmer error message

Spencer Graves spencer.graves at pdf.com
Sun Jan 8 00:49:03 CET 2006


	  I am not familiar with this particular error message, but I will 
offer a few suggestions that might help you isolate it.

	  1.  PLEASE do read the posting guide! 
"www.R-project.org/posting-guide.html".  The limited information 
supplied with your question does NOT include data requested of all 
posts.  The command "sessionInfo()" can proved some of the standard 
basics that many potential respondants want to know before they consider 
replying.

	  2.  Have you tried "traceback()"?  This may or may not help you, but 
it's quick and worth a try.

	  3.  Can you provide this list with a very simple, self contained 
example that produces the error message you mention?

	  4.  I suggest you list "lmer" by typing the function name and a 
commmand prompt.  In this case, "lmer" consists solely of a call to 
"standardGeneric".  The documentation for "standardGeneric" led me to 
the documentation for "GenericFunctions, which led me to "showMethods". 
  'showMethods("lmer")' indicated only one method, namely for 'formula = 
"formula"'.  Then 'dumpMethod("lmer", file="lmer.R", 
signature="formula")' produced a listing of that function for me in the 
working directory.  If you have trouble finding the working directory, 
try 'getwd()'.  I would then modify the function it "lmer.R" to create a 
new function "lmer.formula".  Then I would try "debug(lmer.formula)". 
Then I would replace "lmer" by "lmer.formula" in the command that 
generated the error and execute that modified formula.  This will open a 
browser and allow you to walk through the function line by line, 
examining (and changing) anything you want in the environment of that 
function.  Doing this will, I believe, lead you to exactly the line in 
the "lmer" code that generated the error message you don't understand. 
With only a modest amount of luck, you should be able to find in this 
way what you can do to avoid that error.

	  Anecdotal evidence suggests that people who use the techniques 
described in suggestions 1-3 tend to get quicker, more useful replies 
from this list.  Moreover, in virtually every case that I've tried 
suggestion 4, I've been able to figure out how to overcome that 
particular difficulty.  In addition, I've often learned useful things 
about R that I didn't know befor.

	  hope this helps.
	  spencer graves

Abderrahim Oulhaj wrote:

> Dear All,
> 
> I have the following error message when I fitted  lmer to a  binary data with the "AGQ" option:
> 
> Error in family$mu.eta(eta) : NAs are not allowed in subscripted assignments
> In addition: Warning message:
> IRLS iterations for PQL did not converge 
> 
> Any help?
> 
> Thanks in advance,
> 
> Abderrahim
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.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