Learn R Programming

gRbase (version 1.8-5.1)

array-api: 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(...)

tabProd(...)

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.