It works, thanks a million!
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Christoph Scherber
Sent: 16. toukokuuta 2014 19:50
To: r-help@r-project.org
Subject: Re: [R] How to illustrate an interaction with plotLMER.fnc
Dear Ulla
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 illu
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
Haverinen-Shaughnessy Ulla thl.fi> writes:
>
> 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
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?
Thank
5 matches
Mail list logo