| CS_LCDST | R Documentation |
Function to construct a strength 2 CA based on cover starters according to Lobb et al. 2012. k and v must be specified, the number of runs is ((v-f)*k+CAN_(2,k,f), where f is the number of fixed points (assuming that the CAN array is available, which is the case for f=1,2,3 (eCAN in case of f=3))
CS_LCDST(k, v, start0=TRUE, starter=NULL, ...)
SCA_LCDST(k, v, start0=TRUE, starter=NULL, ...)
N_CS_LCDST(t=2, k, v)
k_CS_LCDST(t=2, N, v)
k |
number of factors |
v |
number of levels, |
start0 |
should the output design's levels start with zero (default) or 1? |
starter |
an optional cover starter vector that starts with a fixed value, denoted by a number larger than 100. |
... |
currently not used |
t |
requested strength (must be 2, added of unified interface with other N_ and k_ functions) |
N |
affordable number of runs |
CS_LCDST returns the smallest possible strength 2 CA from the Lobb et al. (2012) construction for k experimental factors in v levels; it is an N x k matrix with entries from 0 to v-1 or from 1 to v, depending on start0.
SCA_LCDST returns the SCA form of that array (works for cases with f=1 and returns an SCA with k1=k-1).
N_CS_LCDST returns the minimum run size needed for the LCDST construction with k factors at v levels, or NA, if no such construction exists.
k_CS_LCDST returns the maximum number of v-level factors that can be accommodated in at most N runs, or NA, if no such construction exists.
Lobb et al. (2012) denote designs with the factors as the columns and the runs as the rows, like in this package, and contrary to Meagher and Stevens (2005).
The construction uses starter vectors of k elements with first element a fixed position,
denoted as a number >100, depending on v: the fixed points are taken as the last f levels,
and they will be made valid levels v-1 to v-f eventually by subtracting 100.
The starter vector is cycled into a k x k matrix M (internal function circular),
which is one key ingredient of the construction. The other key ingredient is the additive group Z of
v-f elements, which is repeatedly applied to the non-fixed elements.
The resulting matrix consists in vertical concatenations of those v-f matrices,
augmented by the smallest possible CA for k f-level columns in order to cover
interactions among the fixed levels (a constant row with the only fixed level in case of f=1).
Functions N_CS_LCDST and k_CS_LCDST return the minimum N or the maximum
k for the requested scenario. In case of N_CS_LCDST, the default to use the
available starters can be overridden by the argument theoretical, which allows
to inspect how many runs can be obtained by a suitable user-specified starter vector
with the perfect additional ingredient.
Lobb et al. (2012)
LCDSTCombis
LCDSTStarters
## example for k=5, v=3, f=1
starter <- c(102, 0, 1, 1, 0)
coverage(CS_LCDST(5, 3, starter=starter), 2)
## example for k=20, v=8, f=3
## levels 0 to 7, with levels 5 to 7 fixed
## array used by function CS_LCSDT for interactions among fixed points
addfix <- CAEX(20) ## 20 3-level columns at strength 2
coverage(addfix,2)
dim(addfix) ## 15 rows
CA115.2.20.8 <- CS_LCDST(20, 8) ## 115 runs, 20 columns at 8 levels
dim(CA115.2.20.8) ## (v-f)*k + nrow(addfix) = (8 - 3)*20 + 15 rows
coverage(CA115.2.20.8,2)
N_CS_LCDST(k=20, v=8) ## 115 runs are needed for 20 8-level columns
k_CS_LCDST(N=120, v=8) ## with up to 120 runs, 20 8-level columns are possible
eCAN(2, 20, 8) ## post-processing with simulated annealing may loose seven rows
## f larger than 3
## v=11 levels, f=4, k=26
D <- CS_LCDST(26, 11)
dim(D)
N_CS_LCDST(2,26,11)
LCDSTCombis[which(LCDSTCombis$k==26 & LCDSTCombis$v==11),]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.