Learn R Programming

qualityTools (version 1.31.1)

rsmDesign: Generate a response surface design (i.e. central composite design)

Description

Generates a response surface design containing a cube, centerCube, star and centerStar portion.

Usage

rsmDesign(k = 3, p = 0, alpha = "rotatable", blocks = 1, cc = 1, cs = 1, faceCentered = FALSE)

Arguments

k
number of factors
p
number of additional factors in the response surface design by aliasing effects
alpha
value of alpha "rotatable", "orthogonal" or "both". If "both" values for cc and cs will be discarded
blocks
number of blocks in the response surface design
cc
number of centerpoints (per block) in the cube portion of the response surface design
cs
number of centerpoints in the star portion of the response surface design
faceCentered
faceCentered response surface design or not (i.e. alpha = 1)

Value

  • object of class facDesign

Details

Generated designs consist of a cube, centerCube, star and a centerStar portion.

See Also

facDesign fracDesign fracChoose rsmChoose

Examples

Run this code
#central composite design for 2 factors with 2 blocks, alpha = 1.41, 5 centerpoints in the cube portion and 3 centerpoints in the star portion
rsmDesign(k = 2, blocks = 2, alpha = sqrt(2),cc = 5, cs = 3)

#central composite design with both, orthogonality and near rotatability 
rsmDesign(k = 2, blocks = 2, alpha = "both")

Run the code above in your browser using DataLab