#Example 1 - sequential assembly
fdo = facDesign(k = 3, centerCube = 1)  #factorial design with one center point in the cube portion
fdo
response(fdo) = 1:9  #set the response via generic response method
rsd = starDesign(data = fdo)  #sequential assembly of a response surface design (rsd)
rsd
#Example 2 - returning a list
starDesign(k = 3, cc = 2, cs = 2, alpha = "orthogonal")
starDesign(k = 3, cc = 2, cs = 2, alpha = "rotatable")
starDesign(k = 3, cc = 2, cs = 2, alpha = "both")Run the code above in your browser using DataLab