tukey.plot: Tukey/Mandel Interaction Plots of Response for Pairs of...

Usage Arguments Value See Also Examples

Usage

1
2
3
4
tukey.plot(x.factor, response, group, ..., orient = "default",
  xlab, ylab)
mandel.plot(x.factor, response, group, ..., orient = "default",
  xlab, ylab)

Arguments

x.factor

factor whose margins are to be plotted on the horizontal axis. Factor levels are plotted below the marginal means or effects.

response

numeric vector.

group

factor whose levels will be separate traces.

...

optional specification of other parameters to be passed to plotting routines.

orient

"default" = default (as in interaction.plot), "switch" = switch plot orientation of x.factor and trace.factor, "both" = plot both ways.

xlab,ylab

x and y axis labels

Value

a plot will be created showing the requested function of responses for each level of the x.factor at each level of the trace.factor. By default, lines for each value of the trace.factor are drawn in different styles so that they may be more easily distinguished.

See Also

margin.plot, Tukey.

Examples

1
2
3
4
5
data( Tukey )
attach( Tukey )
tukey.plot( geno, y, lat,
   xlab = "(b) geno marginals by lat", ylab = "" )
detach()

byandell/pda documentation built on May 13, 2019, 9:27 a.m.