Learn R Programming

qualityTools (version 1.55)

centerCube-methods: Get and set methods

Description

Set or get the Center Points of the cube portion for an object of class facDesign

Usage

"centerCube"(x) "centerCube"(x) <- value

Arguments

x
a facDesign object
value
data.frame or vector

Methods

signature(objectc = "facDesign")
Get and set the centerCube for the factors in an object of class facDesign. So far used internally.

See Also

centerStar cube star http://www.r-qualitytools.org

Examples

Run this code
#create a response surface design for k = 3 factors
rsdo = rsmDesign(k = 3)

#split design into two blocks
rsdo = blocking(rsdo, 2)

#set two Center Points per block
centerCube(rsdo) = data.frame(A = c(0,0), B = c(0,0), C = c(0,0))

#get the centerPoints of the cube portion
centerCube(rsdo)

Run the code above in your browser using DataLab