centerCube-methods: Get and set methods

Description Usage Arguments Methods See Also Examples

Description

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

Usage

1
2
3
4
## S4 method for signature 'facDesign'
centerCube(x)
## S4 replacement method for signature 'facDesign'
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#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)

Example output

Loading required package: Rsolnp
Loading required package: MASS

Attaching package: 'qualityTools'

The following object is masked from 'package:stats':

    sigma

Warning messages:
1: In `[<-`(`*tmp*`, i, value = <S4 object of class "doeFactor">) :
  implicit list embedding of S4 objects is deprecated
2: In `[<-`(`*tmp*`, i, value = <S4 object of class "doeFactor">) :
  implicit list embedding of S4 objects is deprecated
3: In `[<-`(`*tmp*`, i, value = <S4 object of class "doeFactor">) :
  implicit list embedding of S4 objects is deprecated
  A B C
1 0 0 0
2 0 0 0

qualityTools documentation built on May 2, 2019, 10:21 a.m.