Dear Ulla,
Wouldn´t it be more straightforward to use John Fox´s effects package
for this?
library(effects)
plot(effect("variable1:variable2",model))
Best wishes
Christoph
Am 16.05.2014 16:50, schrieb Haverinen-Shaughnessy Ulla:
Hello, I have built a linear mixed model (with lmer). To illustrate an
interaction between two (originally) continuous variable, I would like to plot
the effects of X1 versus Y for 1=low and 2=high X2. I am using plotLMER.fnc but
have not been able to figure out the code. Could you help?
Thanks, Ulla
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.