GWLP_internals: Internal functions in support of function GWLP

GWLP_internalsR Documentation

Internal functions in support of function GWLP

Description

Internal functions needed for function GWLP

Usage

Choose(n, k)
Kraw(k,x,n,q)
ham(c1, c2)
# levels.no(xx)
levelmix(xx)
distDistmix(code, levm)
Bprime(dists, nmax=5)
dualDistmix(Bprime, nmax=5)

Arguments

n

an integer number

k

an integer number

x

an integer number

q

an integer number

c1

a design row

c2

a design row

xx

a design, not necessarily of class design

code

a design, not necessarily of class design

levm

an object returned by function levelmix

dists

the BSep element of an outcome object from distDistmix, analogous to the B_j1_j2 of p.1072 of Xu and Wu 2001

nmax

set to kmax in calls by other functions

Bprime

an outcome object from Bprime, the MacWilliams transform of the distance distribution

Details

The functions are used in function GWLP. Function ham calculates the Hamming distance, function Kraw the Krawtchouk polynomials, function Choose differs from the base function choose by treatment of negative values n, functions levels.no and levelmix are utilities providing the level information on the design xx (levels.no(xx) is commented out in the usage section, because it can be seen as an S3 method for the generic function levels for objects of a conceivable class no; therefore its documentation without # would cause complaints in CRAN checks.) The functions distDistmix, Bprime and dualDistmix implement formulae from Xu and Wu (2001) for the distance distribution, its MacWilliams transform and the calculation of GWLP from the latter.

Value

not documented for these internal functions

Author(s)

Hongquan Xu, Ulrike Groemping

References

Xu, H.-Q. and Wu, C.F.J. (2001). Generalized minimum aberration for asymmetrical fractional factorial designs. Annals of Statistics 29, 1066–1077.

See Also

See Also GWLP


DoE.base documentation built on Nov. 15, 2023, 1:06 a.m.