Learn R Programming

qualityTools (version 1.31.1)

normalPlot: Half-Normal plot

Description

function to generate a half-normal plot of the factor effects for an object of class facDesign

Usage

normalPlot(fdo, threeWay = FALSE, na.last = NA, alpha = 0.05, sig.col = c("red1", "red2", "red3"), main, ylim, xlim, xlab, ylab, pch, ...)

Arguments

fdo
object of class facDesign
threeWay
TRUE/FALSE plot three-way or higher interactions
na.last
alpha
alpha for marking interactions
sig.col
vector - colors for marking significant interactions
main
graphical parameter
ylim
graphical parameter
xlim
graphical parameter
xlab
graphical parameter
ylab
graphical parameter
pch
graphical parameter
...
further graphical parameters

Value

  • NULL

See Also

facDesign, paretoPlot,

Examples

Run this code
fdo = facDesign(k=3, replicates = 2)  #factorial design
set.seed(123) #seed for random numbers
y = rnorm(nrow(fdo))  #random numbers
response(fdo) = y #set the response
normalPlot(fdo) #create a normal plot

Run the code above in your browser using DataLab