[R-sig-ME] xyplot() method for profile objects: error from use of the scales argument

Ben Bolker bbolker at gmail.com
Tue Sep 23 00:06:10 CEST 2014


John Maindonald <john.maindonald at ...> writes:

 
> I take it that I should be able to supply a ‘scales' argument in
  these circumstances:
 
> > fm01ML <- lmer(Yield ~ 1|Batch, Dyestuff, REML = FALSE)
> > tpr  <- profile(fm01ML, optimizer="Nelder_Mead", which="beta_")
> > xyplot(tpr, scales=list(tck=0.4))
> Error in xyplot.formula(scales = list(tck = 0.4), x = zeta ~ pval | pnm,  : 
>   formal argument "scales" matched by multiple actual arguments
> 
> These are, incidentally, elegant plots.
> 
> John Maindonald             email: john.maindonald at ...
> phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
> Centre for Mathematics & Its Applications, Room 1194,
> John Dedman Mathematical Sciences Building (Building 27)
> Australian National University, Canberra ACT 0200.

  This should be fixed in latest Github commit
https://github.com/lme4/lme4/commit/1fdf0d93c75a7a5421f899cf69291753842f171c
(oops, I notice I forgot to update documentation!)

The internal code is clunkier than I'd like.  Oh well.

  Ben Bolker



More information about the R-sig-mixed-models mailing list