Skip to content
Prev 8450 / 20628 Next

need help with predicted values from lmer with newdata

Confirmed. Follow-up below about how you edit predict.merMod
On Fri, Jun 22, 2012 at 4:19 AM, Joshua Wiley <jwiley.psych at gmail.com> wrote:
Changing this resolves the anomaly I experience. If you mail me your
shirt size & mailing address, I will follow through on the shirt.
Official logo and all!

Now a more practical question. This is OT to mixed models, but is on
topic to Emacs and R and how-to revise lme4 objects to test variations
like the one you propose.

I'm using Emacs with ESS.  I learned in this email list that C-c C-d
can open a function and revise it, and then load it.  This is the
Emacs-ESS alternative to R's fix() function.

I have more and more trouble revising objects because more code is
written with non-exported functions and functions.

In order to follow your advice and revise predict.merMod, the only
thing I could think of was the following.
Then I C-c C-d mypredict, and the re-load that, then change my usage
from predict(m4, ...) to mypredict.

This seemed like a childish way to get at it, I wondered how they are
doing it in the big leagues.

?

PJ