[R] s.e. on interaction plots

Manuel Morales Manuel.A.Morales at williams.edu
Fri Nov 17 13:13:24 CET 2006


On Fri, 2006-11-17 at 05:21 -0500, Chuck Cleland wrote:
> Murray Pung wrote:
> > Is it possible to add standard error bars to the means on interaction plots?
> 
>   Not with interaction.plot(), as far as I know.  You might consider the
> effects package by John Fox.  For example:

Another possibility is the function lineplot.CI from the package sciplot
(a wrapper that adds SE bars to the output from interaction plots). For
example:

library(sciplot)
data(ToothGrowth)
lineplot.CI(dose, len, group = supp, data = ToothGrowth)


-- 
Manuel A. Morales
http://mutualism.williams.edu


More information about the R-help mailing list