[R-sig-ME] Profile function does not work with objekt of class "mer"

Friedericksen Hope friedericksen.hope at gmail.com
Tue Oct 19 09:12:59 CEST 2010


I am unable to get profile zeta plots with the profile function. I am aware of the discussion of this issue earlier 
Donald Bates stated there that with the useR! conference, there will be a solution. Unfortunately the commands introduced in the slides of his tutorial still give me the error.

What is the correct syntax for the profile function?

The following does not work:

>> fm2 <- lmer(diameter~1 + (1|plate) + (1|sample),Penicillin)
>> profile(fm2)
> Error in UseMethod("profile") :
>   no applicable method for 'profile' applied to an object of class "mer"

Session informations:
> R version 2.11.1 (2010-05-31)
> x86_64-pc-linux-gnu
> locale:
>  [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C              LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8
>  [5] LC_MONETARY=C             LC_MESSAGES=en_US.utf8    LC_PAPER=en_US.utf8       LC_NAME=C
> attached base packages:
> [1] tools     stats     graphics  grDevices utils     datasets  methods   base
> other attached packages:
> [1] lme4_0.999375-35   Matrix_0.999375-44 lattice_0.19-13
> loaded via a namespace (and not attached):
> [1] grid_2.11.1   nlme_3.1-97   stats4_2.11.1

Thank you in advance!


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