Learn R Programming

qualityTools (version 1.49)

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, col, border = "red", ...)

Arguments

fdo
object of class facDesign.
threeWay
TRUE/FALSE plot three-way or higher interactions. By default threeWay is set to FALSE.
na.last
By default set to NA.
alpha
alpha for marking interactions.
sig.col
vector - colors for marking significant interactions. By default sig.col is set to c("red1", "red2", "red3").
main
graphical parameter. A main title for the plot, see also title.
ylim
graphical parameter. The y limits of the plot.
xlim
graphical parameter. The x limits (x1, x2) of the plot. Note that x1 > x2 is allowed and leads to a reversed axis.
xlab
graphical parameter. A label for the x axis, defaults to a description of x.
ylab
graphical parameter. A label for the y axis, defaults to a description of y.
pch
graphical parameter. Vector containing numerical values or single characters giving plotting points for the different factors. See points for possible values and their interpretation. Note that only integers
col
graphical parameter. Single numerical value or character string giving the color for the points.
border
graphical parameter. Single numerical value or character string giving the color of the border line.
...
further graphical parameters see par.

Value

  • NULL

See Also

facDesign paretoPlot http://www.user.tu-berlin.de/kalicete/qualityTools/S5.html

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