utilitiesCreate: Utilities for array creation

createABR Documentation

Utilities for array creation

Description

Utilities for array creation

Usage

createAB(s, k = 3, m = NULL, old = FALSE)

BsFromB(B, s = NULL, r = NULL, permlist = NULL, oneonly = TRUE)

BcolsFromBcolllist(Bcollist)

Arguments

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

Details

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.

Value

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

Note

BsFromB is currently not used.


SOAs documentation built on Aug. 11, 2023, 1:09 a.m.