Hi, Since factor variables should be used with interaction.plot, which function can be used to illustrate interactions between continuous variables? Regards, Carol [[alternative HTML version deleted]]
Dear Carol, See Effect(), effect(), and allEffects() in the effects package. I hope this helps, John> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] > On Behalf Of carol white > Sent: February-16-14 8:35 AM > To: r-help at stat.math.ethz.ch > Subject: [R] interaction.plot for continuous variables > > Hi, > Since factor variables should be used with interaction.plot, whichfunction> can be used to illustrate interactions between continuous variables? > > Regards, > > Carol > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.--- This email is free from viruses and malware because avast! Antivirus protection is active.
The Predict.Plot function in the TeachingDemos package (and the related TkPredict function in the same package) are one option for creating plots to show interactions and non-linear relationships with continuous (and mix of continuous and factor variables). On Sun, Feb 16, 2014 at 6:34 AM, carol white <wht_crl at yahoo.com> wrote:> Hi, > Since factor variables should be used with interaction.plot, which function can be used to illustrate interactions between continuous variables? > > Regards, > > Carol > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.-- Gregory (Greg) L. Snow Ph.D. 538280 at gmail.com