Learn R Programming

qualityTools (version 1.0)

effectPlot: effectPlot

Description

Display effects of an object of class 'facDesign' in a line plot.

Usage

effectPlot(fdo, main = paste("Main Effect Plot for ", deparse(substitute(fdo))), showPoints = FALSE, ylab = NULL, pch = 15, ...)

Arguments

fdo
an object of class facDesign
showPoints
logical. If TRUE, single observations are displayed as well.
main
main
ylab
ylab
pch
pch
...
further graphical parameters

Value

  • none

Details

effectPlot displays effects for an object of class facDesign (i.e. 2^k full or 2^k-p fractional factorial design).

See Also

factors, fracDesign

Examples

Run this code
vp = fracDesign(k = 3, replicates = 2)  #NA in response column and 2 replicates per factor combination
y = 4*vp[,1] -7*vp[,2] + 2*vp[,2]*vp[,1] + 0.2*vp[,3] + rnorm(16)                #generate some data
response(vp) = y
effectPlot(vp)                         #show effects and interactions (nothing significant expected)

Run the code above in your browser using DataLab