Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


gRbase (version 1.8-6.4)

api-tabX: Interface - operations on multidimensional arrays.

Description

Interface functions and minor extensions to cpp functions.

Usage

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")

Arguments

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".