Description Usage Arguments Value See Also Examples
A plot is created showing the requested function of responses
for each level of the x.factor
at each level of the
trace.factor
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## S3 method for class 'lm'
ci.plot(object, ..., bar.plot="ci")
## S3 method for class 'lme'
ci.plot(object, data, ..., bar.plot="ci")
## S3 method for class 'lmer'
ci.plot(object, data, ..., bar.plot="ci")
## S3 method for class 'lm'
int.plot(object, data, factors, lsm, ci, offset,
bar.plot="lsd", ylim, type, width, sort.mean=FALSE, edge,
xlab, ylab, level, rdf, fine, xpos, ypos, cex, white, panelf = NULL,...)
## S3 method for class 'lme'
int.plot(object, data, ...)
## S3 method for class 'lmer'
int.plot(object, data, ...)
|
object |
fitted model object (optional unless response is omitted). |
data |
data frame in which to interpret the variables named
in the fit |
factors |
Character string of length 2 with names of
|
lsm |
Least squares means for plotting (default is object from model). |
sort.mean |
should |
ylim,type,xlab,ylab |
plot parameters |
ci,offset,width,edge,xpos,ypos,level,rdf,fine,cex |
optional
parameters for bar-drawing routines |
bar.plot |
"lsd" (default for |
white |
white plot background if TRUE (default) |
panelf |
optional extra panel function for lattice plot |
... |
optional parameters for plotting routines |
list containing sd, rdf, level and sample size, and either lsd (lsd.plot) or width (ci.plot).
int.plot
,
xyplot
, margin.plot.lm
,
lsd.bar
, ci.width
,
pvalue.ellipse
.
1 2 3 4 5 6 7 8 | data(ToothGrowth)
ToothGrowth$dose = ordered(ToothGrowth$dose)
tooth.fit = aov(len~dose*supp, ToothGrowth)
lsd.plot( tooth.fit, ToothGrowth, factors = c("supp","dose"))
cat.lsm = lsmean(tooth.fit)
lsd.plot(tooth.fit, ToothGrowth, factors = c("supp","dose"),
lsm = cat.lsm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.