| miscCA | R Documentation |
incorporates miscellaneous arrays that are created in the package or obtained from package DoE.base
miscCA(t, k, v, fixNA=TRUE, seed=NULL, maxconstant=FALSE, makePCA=FALSE, ...)
t |
integer: the strength |
k |
integer: the number of columns |
v |
integer: the number of levels for each column |
fixNA |
logical: should flexible values be fixed? |
seed |
|
maxconstant |
logical: should constant rows be maximized ? |
makePCA |
logical: should a PCA structure be enforced ? |
... |
currently not used |
an array of class ca with attributes
The function relies on the data frame miscCAcat for a
description of the available CAs.
Ji and Yin (2010), Colbourn and Torres-Jimenez (2013), Kuhfeld (w/o year), DoE.base
# a CA (without flexible values) from DoE.base
miscCA(3, 5, 4)
## without making rows constant and without enforcing PCA
attributes(miscCA(3, 5, 4, maxconstant=FALSE))
# a CA that is internally stored
# it has a single flexible value, which is per default fixed
# the seed makes the fixing reproducible
attributes(D <- miscCA(2, 14, 4, seed=374))
Ns(2,14,4) ## best possible
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.