createSaturated {SOAs} | R Documentation |
Function to create a regular saturated strength 2 array
Description
produces an OA(s^k, (s^k-1)/(s-1), s, 2) (Rao-Hamming construction)
Usage
createSaturated(s, k = 2)
Arguments
s |
the prime or prime power to use |
k |
integer; determines the run size: the resulting array will have s^k runs |
Details
For many situations, the saturated fractions produced by this function are not the best choice
for direct use in experimentation, because they heavily confound main effects with interactions.
If not all columns are needed, using the last m columns may yield better results
than using the first m columns.
If possible, stronger OAs from other sources can be used,
e.g. from package FrF2 for 2-level factors or from package DoE.base for
factors with more than 2 levels.
Value
createSaturated
returns an s^k times (s^k-1)/(s-1) matrix (saturated regular OA with s-level columns)
Examples
createSaturated(3, k=3) ## 27 x 13 array in 3 levels
[Package SOAs version 1.4 Index]