interaction.plot(x.factor, trace.factor, response, fun=mean, trace.label=deparse(substitute(trace.factor)), fixed=F)
Graphical parameters may also be supplied as arguments to this function (see par). Of particular use is lty which has a default value of nc:1 where nc is the number of levels of trace.factor. The parameter for color, col, may also be a vector of integers for this function. In addition, the high-level graphics arguments described under par and the arguments to title may be supplied to this function.
attach(catalyst) interaction.plot(Conc, Cat, Yield) detach() attach(guayule) interaction.plot(variety, treatment, plants)