int.plot.default {pda}R Documentation

Interaction Plots of Response with Interval Bars

Description

An interaction plot shows the mean responses for each level of the object at each level of the group.

Usage

## Default S3 method:
ci.plot(object, response, group, xlab, ylab,
  bar.plot="ci", ...)
## Default S3 method:
int.plot(object, response, group, xlab, ylab, ...)

Arguments

object factor to be plotted on the horizontal axis.
response numeric vector.
group factor whose levels will be separate traces.
... optional specification of other parameters to be passed to plotting routines and/or to the bar-drawing routines lsd.bar and se.bar. There are some parameters, such as width and edge which can change to plotting area.
bar.plot "lsd" (default for int.plot), "ci" (default for ci.plot), "test", "ellipse" or "none". The "test" is a sqrt(2) contraction of confidence interval for approximate graphical comparisons of means.
xlab,ylab x and y axis labels

Value

list containing sd, rdf, level and sample size, and either lsd (lsd.plot) or width (ci.plot).

See Also

int.plot, xyplot, margin.plot.lm, lsd.bar, ci.width, pvalue.ellipse.

Examples

data(ToothGrowth)
attach(ToothGrowth)
lsd.plot(dose, len, supp)
detach()

[Package pda version 1.2-3 Index]