View source: R/createSaturated.R
createSaturated | R Documentation |
produces an OA(s^k, (s^k-1)/(s-1), s, 2) (Rao-Hamming construction)
createSaturated(s, k = 2)
s |
the prime or prime power to use |
k |
integer; determines the run size: the resulting array will have s^k runs |
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.
createSaturated
returns an s^k times (s^k-1)/(s-1) matrix (saturated regular OA with s-level columns)
createSaturated(3, k=3) ## 27 x 13 array in 3 levels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.