Description Usage Arguments Value See Also Examples
The routines lsd.plot
simply calls
int.plot
, which is a method. ci.plot
is a method. An
interaction plot is created. By
default, lines for each value of the group
are drawn in
differentline styles ('lsd.plot' and 'int.plot') and with plot symbols
so that they may be more easily distinguished. This corresponds to plot
type="b"
, which can be overridden. RA Fisher's LSD bar
(lsd.plot
), confidence intervals (ci.plot
) or test
ellipses may be added with the bar.plot
option.
1 2 3 |
object |
object to be plotted |
... |
optional specification of other parameters to be passed
to methods, plotting routines and/or to the bar-drawing routines
|
list containing sd, rdf, level and sample size, and either lsd (lsd.plot) or width (ci.plot).
xyplot
, margin.plot
,
lsd.bar
, ci.width
, int.plot.lm
,
pvalue.ellipse
.
1 2 3 4 5 6 7 8 9 10 11 | # the first use mimics interaction.plot
data(ToothGrowth)
ToothGrowth$dose = ordered(ToothGrowth$dose)
attach(ToothGrowth)
lsd.plot(dose, len, supp)
detach()
# or you could get more fancy by using a model fit
# here is an interaction plot based on linear model fit
ToothGrowth$dose = ordered(ToothGrowth$dose)
tooth.fit = aov(len~dose*supp, ToothGrowth)
lsd.plot( tooth.fit, ToothGrowth, factors = c("supp","dose"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.