DataForTJ: Data for function tjCA

TJcatR Documentation

Data for function tjCA

Description

The data.frame TJcat supports the identification of CAs from the list TJ2level_CAs or the creation of alternative arrays

Usage

TJcat

TJ2level_CAs

Format

TJcat is a data.frame with columns t (strength), k (number of CA columns), v (number of levels), N (number of CA rows), filesize (the file size in bytes), nameInTJ2level_CAs, replaceable and code. Row names hold the names of the downloaded files.
CAs corresponding to rows with entries in code are created by executing the code of column code (either with function CAEX for 3-level or with one of several constructions for 2-level),
CAs corresponding to rows with entries in nameInTJ2level_CAs by picking the respective entry from TJ2levelCAs.
CAs corresponding to rows with neither entry cannot be created at present (many might be constructable by the power construction which will be implemented shortly and will then be incorporated in the code column).

TJ2level_CAs is a list of arrays (class ca) corresponding to the rows of TJcat with entries in nameInTJ2level_CAs (access via names).

An object of class list of length 141.

Details

The data.frame TJcat holds information on 2-level CAs of strength 3 from Torres-Jimenez (2021), covered by function CAEX of this package,
and on 2-level CAs of strengths 3 to 6. The list TJ2level_CAs holds actual arrays for the latter case. These have been selected by size, i.e., too large ones have been omitted. Where the unavailable 2-level arrays (empty string in column TJ2level_CAs) can be replaced by other constructions from the package, these are named in the replaceable column (often the power construction with powerCA will yield such an array); a code column provides the code for the replacement construction. Some sizes can not (yet) be achieved by the package. The size of the arrays has nevertheless precluded the inclusion of the larger arrays into the package, in the interest interest of limiting package size.
Note that a few replacement constructions also yield slightly smaller arrays than those from the Torres-Jimenez repository. Generally, users can simply use the Ns function or the bestN function to find the best implemented run size of this package; there is no need to work directly with TJcat or TJ2level_CAs.

Source

The source is the no longer functional website https://www.tamps.cinvestav.mx/~oc/ by Torres-Jimenez (without year), from which the arrays were downloaded on Feb 6th 2025. Web archive versions of that site are useless, because they do not include the arrays.
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.

References

Colbourn and Torres-Jimenez (2010), Torres-Jimenez (without year, download of arrays on Feb 6 2025), Torres-Jimenez (2021)

Examples

## an impression of the content
head(TJcat)
fivenum(TJcat$N)
xtabs(~ v + t, TJcat)

fun <- function(t,k,v) eCAN(t,k,v)$CAN
fun <- Vectorize(fun)
diff <- TJcat[,"N"]-fun(TJcat[,"t"], TJcat[,"k"], TJcat[,"v"])
fivenum(diff)
## -11 0 0 0 23
ratio <- TJcat[,"N"]/fun(TJcat[,"t"], TJcat[,"k"], TJcat[,"v"])
fivenum(ratio)
## 0.9286 1.0000 1.0000 1.0000 1.0446
## the arrays are pretty close to the best-known,
##    occasionally even better
##    (i.e., colbournBigFrame would have to be updated)
fun <- function(t,k,v) eCAN(t,k,v)$Source
fun <- Vectorize(fun)
## constructions behind non-stored 2-level arrays
nonstored2level <- TJcat[TJcat$v==2 & TJcat$nameInTJ2level_CAs=="" & TJcat$replaceable=="", ]
table(substr(fun(nonstored2level[,"t"], nonstored2level[,"k"], nonstored2level[,"v"]), 1, 8))
## the remaining not-yet-replaceable arrays are mostly doable from Derive and Power CZ
## constructions, which have not systematically (Derive) or not at all (Power CZ) been implemented
## in this package so far.

CAs documentation built on Nov. 29, 2026, 1:06 a.m.