Re: [R] How to illustrate an interaction with plotLMER.fnc

2014-05-16 Thread Haverinen-Shaughnessy Ulla
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

Re: [R] How to illustrate an interaction with plotLMER.fnc

2014-05-16 Thread Christoph Scherber
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

[R] How to illustrate an interaction with plotLMER.fnc

2014-05-16 Thread 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

Re: [R] How to illustrate an interaction with plotLMER.fnc

2014-05-14 Thread Ben Bolker
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

[R] How to illustrate an interaction with plotLMER.fnc

2014-05-14 Thread 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? Thank