effect.plot: Effects Plot

Description Usage Arguments Value See Also Examples

Description

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).

Usage

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, ...)

Arguments

object

linear model (lm) fit

data

Data used in object fit

factors

Character string of factor names

influence

Include influence if TRUE

terms.fit

Character string of terms in object fit

stratum

Identifier of stratum to examine

effect

effect fit of object

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

Value

list of effects

See Also

effect.plot.

Examples

1
2
3

byandell/pda documentation built on May 13, 2019, 9:27 a.m.