Skip to content
Prev 12397 / 20628 Next

lmer() with 'na.action=na.exclude'; error with summary()

John Maindonald <john.maindonald at ...> writes:
[snip]
This is a confusion between the arguments of the summary method
(summary.merMod) and the *print method* (print.summary.merMod).
We should add a warning to summary that says it is discarding
unused arguments (the ... in the model definition is only there
for compatibility with the summary() generic method).

  print(summary(science.lmer), show.resids=FALSE)

works fine.
Now I'm wondering whether the correct behaviour when there are
NAs in the (extended) residuals is 

  1 omit NAs from the residual quantile calculation (easiest)
  2 return NA values for all quantiles of the residual
  3 return the quantiles plus a statement of the number of NAs.

Any good reason not to just do #1?