[R-sig-ME] Profile function does not work with objekt of class "mer"
bates at stat.wisc.edu
Tue Oct 19 16:16:59 CEST 2010
On Tue, Oct 19, 2010 at 2:12 AM, Friedericksen Hope
<friedericksen.hope at gmail.com> wrote:
> 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?
At present only the lme4a package provides profiling of the deviance
function. I would direct you to the R-forge repository except that
the Windows and Mac OS X builds on that repository are not completing.
About the best I can offer is to have a binary package built on the
win-builder system and stick it on the web site somewhere. I don't
use either Windows or Mac OS X myself so I need to rely on other
Martin and I had planned to release lme4a as lme4 some time ago but
both of us have very heavy teaching schedules this semester leaving us
with little time to devote to lme4.
> The following does not work:
>>> fm2 <- lmer(diameter~1 + (1|plate) + (1|sample),Penicillin)
>> 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)
>>  LC_CTYPE=en_US.utf8 LC_NUMERIC=C
>> LC_TIME=en_US.utf8 LC_COLLATE=en_US.utf8
>>  LC_MONETARY=C LC_MESSAGES=en_US.utf8
>> LC_PAPER=en_US.utf8 LC_NAME=C
>>  LC_ADDRESS=C LC_TELEPHONE=C
>> LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C
>> attached base packages:
>>  tools stats graphics grDevices utils datasets methods
>> other attached packages:
>>  lme4_0.999375-35 Matrix_0.999375-44 lattice_0.19-13
>> loaded via a namespace (and not attached):
>>  grid_2.11.1 nlme_3.1-97 stats4_2.11.1
> Thank you in advance!
> R-sig-mixed-models at r-project.org mailing list
More information about the R-sig-mixed-models