Description Usage Arguments Details Value Note Author(s) See Also Examples
Generates a 2^k full factorial design.
1 | facDesign(k = 3, p = 0, replicates = 1, blocks = 1, centerCube = 0)
|
k |
numeric value giving the number of factors. By default |
p |
numeric integer between ‘0’ and ‘7’. |
replicates |
numeric value giving the number of replicates per factor combination. By default |
blocks |
numeric value giving the number of blocks. By default |
centerCube |
numeric value giving the number of centerpoints within the 2^k design. By default |
facDesign
generates 2^k full factorial designs.
The function facDesign
returns an object of class facDesign
.
For an example in context which shows the usage of the function facDesign
please read the vignette for the package qualityTools
at http://www.r-qualitytools.org/html/Improve.html.
Thomas Roth [email protected]
fracDesign
fracChoose
rsmDesign
pbDesign
taguchiDesign
http://www.r-qualitytools.org/html/Improve.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #returns a 2^3 full factorial design
vp.full = facDesign(k = 3)
#generate some random response
response(vp.full) = rnorm(2^3)
#summary of the full factorial design (especially no defining relation)
summary(vp.full)
#------------
#returns a full factorial design with 3 replications per factor combination
#and 4 center points
vp.rep = facDesign(k = 2, replicates = 3, centerCube = 4)
#set names
names(vp.rep) = c("Name 1", "Name 2")
#set units
units(vp.rep) = c("min", "F")
#set low and high factor values
lows(vp.rep) = c(20, 40, 60)
highs(vp.rep) = c(40, 60, 80)
#summary of the replicated full factorial Design
summary(vp.rep)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.