Learn R Programming

qualityTools (version 1.31.1)

centerCube-methods: Get and set methods

Description

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

Usage

## S3 method for class 'facDesign':
centerCube(x)
## S3 method for class 'facDesign':
centerCube(x) <- value

Arguments

x
a `facDesign' object
value
data.frame or vector

See Also

centerStar, cube, star,

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