Skip to content
Prev 12451 / 20628 Next

predict.merMod

I've tried installing from github on my personal computer as well (in case
there was something with my work network causing a problem). I ran into the
same error. I am able to install other github packages--for example, my
(admittedly very small) package on nongaussian mixture
modeling: devtools::install_github("emclustr","crossfitAL").

I'll re-attempt the binary today--currently having some problems
downloading it.

Regarding question #2 (my hacked function), I completely agree that a
proliferation of predict.merMod functions is undesirable. the random
component of my model is as follows

lmer(... (0 + <logical> + <factor> |subject/school), data= ...)

The issue is selecting the appropriate columns of the random effects
data-frame { ranef(object)[[1]] } when the intercept term is
suppressed--but allowing flexibility in the function when the intercept is
not suppressed. It's made more difficult by the factor variable having 3-4
levels.

Alex



Alex Whitworth
whitworth.alex at gmail.com
(c) 828.429.7478
On Wed, Sep 17, 2014 at 1:37 PM, Ben Bolker <bbolker at gmail.com> wrote: