tukey.plot {pda} | R Documentation |
Tukey/Mandel Interaction Plots of Response for Pairs of Factors
Description
Usage
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
data( Tukey )
attach( Tukey )
tukey.plot( geno, y, lat,
xlab = "(b) geno marginals by lat", ylab = "" )
detach()
[Package
pda version 1.2-3
Index]