I have been looking at a draft of Doug Bate's book on mixed effects models
(http://lme4.r-forge.r-project.org/book), and in chapter one (section
"1.4.2
Matrices and Vectors in the Fitted Model Object", to be exact) he refers to
the
function env() for checking the environment of a fitted lmer object. This
function does not appear under help, and I have not been able to find
information on it elsewhere. Can someone tell where this function comes from? By
the way, it is not defined in the R-code that accompanies chapter one of
Bate's
book either.
Similar observations appear to apply to the function profile().
Are these functions that will appear in a new version of the lme4 library, that
has not yet been released?
Thank you!
Michael Jerosch-Herold
Brigham & Women's Hospital
The information in this e-mail is intended only for the ...{{dropped:11}}
Hi,> I have been looking at a draft of Doug Bate's book on mixed effects models > (http://lme4.r-forge.r-project.org/book), and in chapter one (section "1.4.2 > Matrices and Vectors in the Fitted Model Object", to be exact) he refers to the > function env() for checking the environment of a fitted lmer object. > [...] > Similar observations appear to apply to the function profile().Yes, I believe you need library(lme4a), the development version of lme4. I think you can get it from http://r-forge.r-project.org For me the following worked: install.packages("lme4a",repos="http://R-Forge.R-project.org") (But then something didn't work with profile() on my particular model but I forgot what it was -- haven't had time to pursue this yet) -- Marianne Promberger PhD, King's College London http://promberger.info R version 2.10.1 (2009-12-14) Ubuntu 9.04
-- View this message in context: http://n4.nabble.com/env-for-lme4-tp1565045p1565603.html Sent from the R help mailing list archive at Nabble.com.
Hi, using lme4a, and the dystuff data, I call profile and get:> profile(fm1ML)Error in UseMethod("profile") : no applicable method for 'profile' applied to an object of class "lmer" any solutions? -- View this message in context: http://n4.nabble.com/env-for-lme4-tp1565045p1839791.html Sent from the R help mailing list archive at Nabble.com.