Message-ID: <CACm_P7qVPVL1VidVDe0O4WpmHaOVMd6xKiy4MqyogcU5=Y00gQ@mail.gmail.com>
Date: 2012-05-06T19:38:02Z
From: Eiko Fried
Subject: Interaction plot between 2 continuous variables
I have two very strong fixed effects in a LMM (both continuous variables).
model <- lmer( y ~ time + x1+x2 + (time|subject))
Once I fit an interaction of these variables, both main effects
disappear and I get a strong interaction effect.
model <- lmer( y ~ time + x1*x2 + (time|subject))
I would like to plot this effect now, but have not been able to do so,
reading through ggplot2 and lattice tutorials.
Any help would be greatly appreciated. Thank you!