| N_JE | R Documentation |
implements the construction by Johnson and Entringer (19xx) and the Zero Sum construction reported by Colbourn (20xx)
JE(t=NULL, k=NULL)
k_JE(t=NULL, N=NULL)
N_JE(t=NULL, k=NULL)
ZeroSum(t, k, v)
k_ZeroSum(t, N, v)
N_ZeroSum(t, k, v)
t |
requested strength |
k |
number of columns |
N |
number of runs |
v |
number of levels |
Functions ZeroSum and JE return the
optimum CAs in strength t with
k=t+1 columns (zero sum construction, valid for any v)
or k=t+2 columns for v=2 (Johnson-Entringer construction).
As they are optimal for exactly these settings and better arrays
can be found for smaller values of k, the N_-functions
return NA for k less than the respective maximum, in order to provide useful input for the Ns
and ks functions.
The design creation functions increase
t if k is larger than possible for the stated t, with a message.
They return k columns only if more were possible. In such cases,
the construction is (of course) not optimal and also neve the
best possible implemented construction.
JE returns a matrix of class ca with
k columns (at most t+2) in 2 levels each
and 2^t runs in each column, with coverage strength t.
N_JE and k_JE return the N for a given t
and k or the k for a given t and N,
respectively.
ZeroSum returns a matrix of class ca with
k columns (at most t+1) in v levels each
and v^t runs in each column, with coverage strength t.
N_ZeroSum and k_ZeroSum return the N for a given
t, v and k or the k for a given t,
v and N respectively.
Colbourn and Dinitz (2007, III 7.16 for Zero Sum), Johnson and Entringer (1989), as explained e.g. in Torres-Jimenez et al. (2019)
D <- JE(k=8)
N_JE(k=8)
dim(D)
k_JE(t=3,N=66)
N_JE(t=3,k=6)
N_JE(t=3, k=5)
dim(JE(t=3,k=5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.