api-cell_: Low level table cell operations implemented in c++

Description Usage Arguments

Description

Corresponding R functions without the trailing underscore exist.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
cell2entry_(cell, dim)

make_plevels_(dim)

entry2cell_(entry, dim)

next_cell_(cell, dim)

next_cell_slice_(cell, dim, slice_marg)

slice2entry_(slice_cell, slice_marg, dim)

cell2entry_perm_(cell, dim, perm)

perm_cell_entries_(perm, dim)

Arguments

cell

Vector giving the cell, e.g. c(1, 1, 2) in 3-way table.

dim

Vector giving array dimension, eg c(2, 2, 2).

entry

An entry in an array (a number indexing a vector).

slice_marg

Vector giving the margin of a table, eg. c(2, 3)

slice_cell

Vector giving the corresponding cell of marginal table, e.g. c(1, 2)

perm

Vector giving permutaion of array, eg. c(1, 3, 2).


DataSciBurgoon/gRbase documentation built on March 25, 2020, 12:03 a.m.