Skip to content
Prev 8452 / 20628 Next

need help with predicted values from lmer with newdata

Hi Paul,

I am not sure how to use C-c C-d with namespaces and unexported
objects.  I might suggest though that for the assignment, you do
something like:

assignInNamespace("predict.merMod", mypredict, envir =
as.environment("package:lme4"))

It is not an issue in this case, but it can be if mypredict calls
functions that are availabe from lme4 but not to functions in the
global environment.  I am not a big leaguer though so cannot give you
really definitive advice.

Regarding the shirt, give some free help to a local student (or
charity), and I will consider us even :)

Cheers,

Josh
On Fri, Jun 22, 2012 at 7:44 AM, Paul Johnson <pauljohn32 at gmail.com> wrote: