Dear All, we need to do :
library(car) for the spreadLevelPlot function I forgot to say that. Apologies, Ashim On Sun, Jan 7, 2018 at 10:37 AM, Ashim Kapoor <ashimkap...@gmail.com> wrote: > Dear All, > > I want a transformation which will make the spread of the response at all > combinations > of 2 factors the same. > > See for example : > > boxplot(breaks ~ tension * wool, warpbreaks) > > The closest I can do is : > > spreadLevelPlot(breaks ~tension , warpbreaks) > spreadLevelPlot(breaks ~ wool , warpbreaks) > > I want to do : > > spreadLevelPlot(breaks ~tension * wool, warpbreaks) > > But I get : > > > spreadLevelPlot(breaks ~tension * wool , warpbreaks) > Error in spreadLevelPlot.formula(breaks ~ tension * wool, warpbreaks) : > right-hand side of model has more than one variable > > What is the corresponding appropriate function for 2 factors ? > > Many thanks, > Ashim > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.