Interface functions and minor extensions to cpp functions.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | tabAdd(tab1, tab2)
tabAlign(tab1, tab2)
tabDiv(tab1, tab2)
tabDiv0(tab1, tab2)
tabEqual(tab1, tab2, eps = 1e-12)
tabExpand(tab, aux)
tabMult(tab1, tab2)
tabSubt(tab1, tab2)
tabListMult(lst)
tabListAdd(lst)
tabPerm(tab, perm)
tabMarg(tab, marg = NULL)
tabSum(tab, ...)
tabProd(tab, ...)
tabNormalize(tab, type = "none")
|
eps |
Criterion for checking equality of two arrays. |
tab, tab1, tab2, ... |
Arrays with named dimnames (we call them 'named arrays'). |
aux |
Either a list with names and dimnames or a named array from which such a list can be extracted. |
lst |
List of arrays. |
perm, marg |
A vector of indices or dimnames or a right hand sided formula giving the desired permutation/margin. |
type |
One of "none", "first" and "all". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.