Description Usage Arguments Value See Also Examples
Get fit effects and plot beside residuals. Visually assess MS as spread of effects. See Emerson chapter in Hoaglin, Mosteller and Tukey (1991, ch. 8C) Fundamentals of Exploratory Analysis of Variance (Wiley).
1 2 3 4 5 6 7 8 | effect.fit(object, ...)
## Default S3 method:
effect.fit(object, data, factors, adjust=TRUE, influence=FALSE,
terms.fit, ...)
## S3 method for class 'listof'
effect.fit(object, data, factors, terms.fit, stratum, ...)
effect.plot(object, effect, adjust=TRUE, boxplot.min=10,
jitter=0.1, width=jitter, xlim, ylim, xaxt, xlab, ylab, ...)
|
object |
linear model (lm) fit |
data |
Data used in |
factors |
Character string of factor names |
influence |
Include influence if |
terms.fit |
Character string of terms in |
stratum |
Identifier of stratum to examine |
effect |
effect fit of |
adjust |
adjust effects so that the average of squared effects is the mean squarefor that term |
boxplot.min |
use boxplot instead if more than this many values |
jitter |
uniform sideways jitter of plotted points (default=.1) |
width |
width of boxplot (default=jitter) |
xlim |
Plot parameters |
ylim |
Plot parameters |
xaxt |
Plot parameters |
xlab |
Plot parameters |
ylab |
Plot parameters |
... |
Plot parameters |
list of effects
1 2 3 | data(ToothGrowth)
ToothGrowth$dose = ordered(ToothGrowth$dose)
effect.plot(lm(len~dose*supp, ToothGrowth))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.