| createDHF | R Documentation |
These functions support the implementation of the power constructions by Colbourn and Torres-Jimenez
createDHF(oa, toa, tdhf, vdhf=tdhf)
Tred(DHF, rs, reduce)
oa |
an orthogonal array |
toa |
strength of the orthogonal array |
tdhf |
requested strength of the DHF |
vdhf |
number of classes of the DHF, the default yields a PHF |
DHF |
a DHF or DHHF, for which the number of levels for
rows indexed by elements of |
rs |
vector of row indices whose number of levels is to be reduced |
reduce |
number of levels to reduce |
Function createDHF creates a DHF or PHF of minimum
number of rows for the combination of toa, tdhf and
vdhf.
Function Tred reduces the number of levels for the specified rows
by the amount stated in reduce, aiming for retaining the
maximum number of columns.
Function createDHF creates a distributed hash family according to
Lemma 1.1 or Lemma 1.2 of Colbourn and Torres-Jimenez (2010).
Function Tred applies Lemma 3.1 of Colbourn and Torres-Jimenez (2010).
Colbourn and Torres-Jimenez (2010)
## a DHF of strength 3 with 2 classes
## from the Bush array of strength 2
## (which coincides with the Bose array)
mydhf <- createDHF(SCA_Busht(11, 2), 2, 3, 2)
dim(mydhf)
mydhf[,1:6]
mydhf[,116:121]
## reduce the third row by 6 levels to 5 levels
mydhhf <- Tred(mydhf, 3, 6)
dim(mydhhf)
mydhhf[,50:55]
## a PHF of strength 4 from a strength 2 OA
myphf19 <- createDHF(SCA_Bose(19), 2, 4)
dim(myphf19)
## a DHF of strength 4 with only 2 classes
## from a strength 2 OA
mydhf19 <- createDHF(SCA_Bose(19), 2, 4, 2)
dim(mydhf19)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.