createAB | R Documentation |
Utilities for array creation
createAB(s, k = 3, m = NULL, old = FALSE)
BsFromB(B, s = NULL, r = NULL, permlist = NULL, oneonly = TRUE)
BcolsFromBcolllist(Bcollist)
s |
levels |
k |
integer; determines the run size: the resulting array will have s^k runs |
m |
the number of columns to be created |
B |
n x m matrix |
r |
number of copies |
permlist |
permutation list |
oneonly |
logical: permute all copies in the same way? |
Bcollist |
list of candidate columns for He et al. (2018) construction |
BcolsFromBcolllist
tries to create adequate unique matches from a list of suitable matches. For example, if four matches are needed and the list list(1:2, 1:3, 4:6, 1)
holds the suitable matches for the four positions, the function would return the vector 2, 3, 4, 1.
createAB
returns a list of s^k times m matrices A, B and D for the He, Cheng and Tang (2018) construction
BsFromB
returns an rn x m matrix
BcolsFromBcolllist
returns column numbers selected for matrix B
BsFromB
is currently not used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.