blocking: Blocking

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

Blocks a given factorial or response surface design.

Usage

1
blocking(fdo, blocks, BoR = FALSE, random.seed, useTable = "rsm", gen)

Arguments

fdo

needs to be an object of class facDesign.

blocks

numerical value giving the number of blocks.

BoR

logical value indicating whether the replicates should be blocked or not.
By default BoR is set to ‘FALSE’.

random.seed

numerical variable for set.seed to generate repeatable results for randimization within blocks.

useTable

character indicating which table to use. The follwing options will be accepted:

  • “rms” - table from reference

  • “calc” - table calculated by qualityTools

gen

giving the generator that will be used.

Value

The function blocking() returns a an object of class facDesign with blocking structure.

Note

blocking is still buggy at this time and Blocking on Replicates is not yet implemented and Blocking requires k >= 3 factors. This will change soon.
For an example in context which shows the effect of applying blocking() to an object of class facDesign, please read the vignette for the package qualityTools at http://www.r-qualitytools.org/html/Improve.html.

Author(s)

Thomas Roth thomas.roth@tu-berlin.de

References

MYERS, Raymond H.; MONTGOMERY, Douglas C.; ANDERSON-COOK, Christine M.: Response Surface Methodology. New York: WILEY ,2009

See Also

facDesign
http://www.r-qualitytools.org/html/Improve.html

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#create a 2^3 full factorial design
fdo = facDesign(k = 3)

#make it a design with 2 blocks
blocking(fdo, 2)

#create a response surface design for 3 factors
fdo = rsmDesign(k = 3)

#make it a design with 3 blocks (i.e. 1 block for star part and 2 blocks 
#for the cube part)
blocking(fdo, 3)

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