CatalogueAccessors {FrF2}R Documentation

Catalogue file and accessor functions

Description

Functions to select elements or extract information from design catalogues of class catlg

Usage

res(catlg)
## S3 method for class 'catlg'
res(catlg)
## S3 method for class 'character'
res(catlg)
nruns(catlg)
## S3 method for class 'catlg'
nruns(catlg)
## S3 method for class 'character'
nruns(catlg)
nfac(catlg)
## S3 method for class 'catlg'
nfac(catlg)
## S3 method for class 'character'
nfac(catlg)
WLP(catlg)
## S3 method for class 'catlg'
WLP(catlg)
## S3 method for class 'character'
WLP(catlg)
nclear.2fis(catlg)
## S3 method for class 'catlg'
nclear.2fis(catlg)
## S3 method for class 'character'
nclear.2fis(catlg)
clear.2fis(catlg)
## S3 method for class 'catlg'
clear.2fis(catlg)
## S3 method for class 'character'
clear.2fis(catlg)
all.2fis.clear.catlg(catlg)
dominating(catlg)
## S3 method for class 'catlg'
dominating(catlg)
## S3 method for class 'character'
dominating(catlg)
catlg
## S3 method for class 'catlg'
catlg[i]
## S3 method for class 'catlg'
print(x, name="all", nruns="all", nfactors="all", 
                        res.min=3, MaxC2=FALSE, show=10, 
                        gen.letters=FALSE, show.alias=FALSE, ...)
block.catlg

Arguments

catlg

Catalogue of designs of class catlg (cf. details section), or character vector with name(s) of catlg element(s) in case of accessor functions

i

vector of index positions or logical vector that can be used for indexing a catlg object

x

an object of class catlg

name

character vector of entry names from x; default “all” means: no selection made

nruns

numeric integer (vector), giving the run size(s) for entries of x to be shown; default “all” means: no selection made

nfactors

numeric integer (vector), giving the factor number(s) for entries of x to be shown; default “all” means: no selection made

res.min

numeric integer giving the minimum resolution for entries of x to be shown

MaxC2

logical indicating whether designs are ordered by minimum aberration (default, MaxC2=FALSE) or by maximum number of clear 2fis (MaxC2=TRUE)

show

integer number indicating maximum number of designs to be shown; default is 10

gen.letters

logical indicating whether the generators should be shown as column numbers (default, gen.letters=FALSE) or as generators with factor letters (e.g. E=ABCD, gen.letters=TRUE)

show.alias

logical indicating whether the alias structure (up to 2fis) is to be printed

...

further arguments to function print

block.catlg

data frame with block generators for full factorial designs up to 256~runs, taken from Sun, Wu and Chen (1997)

Details

The class catlg is a named list of design entries. Each design entry is again a list with the following items:

res

resolution, numeric, i.e. 3 denotes resolution III and so forth

nfac

number of factors

nruns

number of runs

gen

column numbers of additional factors in Yates order

WLP

word length pattern (starting with words of length 1, i.e. the first two entries are 0 for all designs in catlg)

nclear.2fis

number of clear 2-factor interactions (i.e. free of aliasing with main effects or other 2-factor interactions)

clear.2fis

2xnclear.2fis matrix of clear 2-factor interactions (clear to be understood in the above sense); this matrix represents each designs clear interaction graph, which can be used in automated searches for designs that can accomodate (i.e. clearly) a certain requirement set of 2-factor interactions; cf. also estimable.2fis

all.2fis.clear

vector of factors with all 2-factor interactions clear in the above sense

dominating

logical that indicates whether the current design adds a CIG structure that has not been seen for a design with less aberration (cf. Wu, Mee and Tang 2012 p.196 for dominating designs); TRUE, if so; FALSE, if current CIG is isomorphic to previous one or has no edges (IMPORTANT: the dominance assessment refers to the current catalogue; for designs with more than 64 runs, it is possible that a design marked dominating in catalogue catlg is not dominating when considering ALL non-isomorphic designs).
This element is helpful in omitting non-promising designs from a search for a clear design.
This element may be missing. In that case, all catalogue entries are assumed dominating.

Reference to factors in components clear.2fis and all.2fis.clear is via their position number (element of (1:nfac)).

The print function for class catlg gives a concise overview of selected designs in any design catalogue of class catlg. It is possible to restrict attention to designs with certain run sizes, numbers of factors, and/or to request a minimum resolutions. Designs are ordered in decreasing quality, where the default is aberration order, but number of clear 2fis can be requested alternatively. The best 10 designs are displayed per default; this number can be changed by the show option. Options gen.letters and show.alias influence the style and amount of printed output.

The catalogue catlg, which is included with package FrF2, is of class catlg and is a living object, since it has to be updated with recent research results for larger designs. In particular, new MA designs may be found, or it may be proven that previous “good” designs are in fact of minimum aberration.

Currently, the catalogue contains

There are also some non-regular 2-level fractional factorial designs of resolution V which may be interesting, as it is possible to increase the number of factors for which resolution V is possible (cf. Mee 2009, Chapter 8). These are part of package DoE.base, which is automatically loaded with this package. With versions higher than 0.9-14 of that package, the following arrays are available:
L128.2.15.8.1, which allows 4 additional factors and blocking into up to 8 blocks
L256.2.19, which allows just 2 additonal factors
L2048.2.63, which allows 16 additional factors. These non-regular arrays should be fine for most purposes; the difference to the arrays generated by function FrF2 lies in the fact that there is partial aliasing, e.g. between 3-factor interactions and 2-factor interactions. This means that an affected 3-factor interaction is partially aliased with several different 2-factor interactions rather than being aliased either fully or not at all.

Value

[ selects a subset of designs based on i, which is again a list of class catlg, even if a single element is selected. res, nruns, nfac, nclear.2fis and dominating return a named vector, the print method does not return anything (i.e. it returns NULL), and the remaining functions return a list.

Author(s)

Ulrike Groemping

References

Block, R. and Mee, R. (2005) Resolution IV Designs with 128 Runs Journal of Quality Technology 37, 282-293.

Block, R. and Mee, R. (2006) Corrigenda Journal of Quality Technology 38, 196.

Chen, J., Sun, D.X. and Wu, C.F.J. (1993) A catalogue of 2-level and 3-level orthogonal arrays. Int. Statistical Review 61, 131-145.

Groemping, U. (2012). Creating clear designs: a graph-based algorithm and a catalog of clear compromise plans. IIE Transactions 44, 988-1001. doi: 10.1080/0740817X.2012.654848. Early preprint at http://www1.bht-berlin.de/FB_II/reports/Report-2010-005.pdf.

Mee, R. (2009). A Comprehensive Guide to Factorial Two-Level Experimentation. New York: Springer.

Ryan, K.J. and Bulutoglu, D.A. (2010). Minimum Aberration Fractional Factorial Designs With Large N. Technometrics 52, 250-255.

Sun, D.X., Wu, C.F.J. and Chen, Y.Y. (1997). Optimal blocking schemes for 2^p and 2^{n-p} designs. Technometrics 39, 298-307.

Wu, H., Mee, R. and Tang, B. (2012). Fractional Factorial Designs With Admissible Sets of Clear Two-Factor Interactions. Technometrics 54, 191-197.

Xu, H. (2009) Algorithmic Construction of Efficient Fractional Factorial Designs With Large Run Sizes. Technometrics 51, 262-277.

See Also

See also FrF2, oa.design

Examples

c8 <- catlg[nruns(catlg)==8]
nclear.2fis(c8)
clear.2fis(c8)
all.2fis.clear.catlg(c8)

## inspecting a specific catalogue element
clear.2fis("9-4.2")

## usage of print function for inspecting catalogued designs
## the first 10 resolution V+ designs in catalogue catlg
print(catlg, res.min=5)
## the 10 resolution V+ designs in catalogue catlg with the most factors
## (for more than one possible value of nfactors, MaxC2 does usually not make sense)
print(catlg, res.min=5, MaxC2=TRUE)

## designs with 12 factors in 64 runs (minimum resolution IV because 
## no resolution III designs of this size are in the catalogue)
## best 10 aberration designs
print(catlg, nfactors=12, nruns=64)
## best 10 clear 2fi designs
print(catlg, nfactors=12, nruns=64, MaxC2=TRUE)
## show alias structure
print(catlg, nfactors=12, nruns=64, MaxC2=TRUE, show.alias=TRUE)
## show best 20 designs
print(catlg, nfactors=12, nruns=64, MaxC2=TRUE, show=20)

## use vector-valued nruns 
print(catlg, nfactors=7, nruns=c(16,32))
## all designs (as show=100 is larger than available number of designs)
##    with 7 or 8 factors in 16 runs
print(catlg, nfactors=c(7,8), nruns=16, show=100)

## the irregular resolution V arrays from package DoE.base (from version 0.9-17)
## designs can be created from them using function oa.design
## Not run: 
## not run in case older version of DoE.base does not have these
length3(L128.2.15.8.1)
length4(L128.2.15.8.1)  ## aliasing of 2fis with block factor
length4(L128.2.15.8.1[,-16])

length3(L256.2.19)
length4(L256.2.19)

##length3(L2048.2.63) 
##length4(L2048.2.63) do not work resource wise
## but the array is also resolution V (but irregular)

## End(Not run)

[Package FrF2 version 2.3-3 Index]