facDesign
.
normalPlot(fdo, threeWay = FALSE, na.last = NA, alpha = 0.05, response = NULL, sig.col = c("red1", "red2", "red3"), sig.pch = c(1, 2, 3), main, ylim, xlim, xlab, ylab, pch, col, border = "red", ...)
facDesign
.
threeWay
is set to FALSE.
response
needs to be an object of class
character with length of 1. It needs to be the same character as the name of the response in the response data frame that should be plotted.
By default response
is set to NULL.sig.col
is set to c("red1", "red2", "red3").
sig.pch
is set to c(1, 2, 3).
title
.
points
for possible values and their interpretation. Note that only integers and single-character strings can be set as a graphics parameter (and not NA nor NULL).
par
.
fdo
contains replicates this function will deliver a normal plot
i.e.: effects divided by the standard deviation (t-value) will be plotted against an appropriate probability
scaling (see: ppoints
).
If the given facDesign object fdo
contains no replications the standard error can not be calculated.
In that case the function will deliver an effect plot.
i.e.: the effects will be plotted against an appropriate probability scaling. (see: ppoints
).
facDesign
paretoPlot
http://www.r-qualitytools.org/html/Improve.html
#factorial design
fdo = facDesign(k=3, replicates = 2)
#seed for random numbers
set.seed(123)
#random numbers
y = rnorm(nrow(fdo))
#set the response
response(fdo) = y
#create a normal plot
normalPlot(fdo)
Run the code above in your browser using DataLab