| CKRScat | R Documentation |
The data.frame CKRScat supports the identification of CAs from the list CKRS_CAs
CKRScat
CKRS_CAs
CKRScat is a data.frame in 53 rows with columns t (strength), v (number of levels),
k (number of CA columns), N (number of CA rows)
and fn (name of entry in list CKRS_CAs.
CKRS_CAs is a list of 53 covering arrays (class ca) corresponding to the
rows of CKRScat.
An object of class list of length 53.
The data.frame CKRScat holds information on arrays in 2:7 and
10:12 levels, at strengths 2 to 6.
The list CKRS_CAs holds the actual arrays.
The reference is Colbourn, Keri, Rivas Soriano and Schlage-Puchta (2010, CKRS).
The last available source for the arrays was http://old.sztaki.hu/~keri/arrays/CA_listings.zip,
which is unfortunately no longer functional.
The creation of the objects is documented by R files in the extdata
folder for this package, which can be located in the directory inst/extdata
of the GitHub repo. The actual raw arrays
can be found there as well (they are small enough to be included in spite
of their availability elsewhere on the web).
CKRS (2010)
## an impression of the content
head(CKRScat)
tail(CKRScat)
fivenum(CKRScat$N)
xtabs(~ v + t, CKRScat)
fun <- function(t,k,v) eCAN(t,k,v)$CAN
fun <- Vectorize(fun)
diff <- CKRScat[,"N"]-fun(CKRScat[,"t"], CKRScat[,"k"], CKRScat[,"v"])
fivenum(diff)
## 0 0 2 6 69
ratio <- CKRScat[,"N"]/fun(CKRScat[,"t"], CKRScat[,"k"], CKRScat[,"v"])
fivenum(ratio)
## 1 1 1.0010 1.0349 1.25
## at least half of the arrays are pretty close to the best-known
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.