Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

api-cell_

Low level table cell operations implemented in c++


Description

Corresponding R functions without the trailing underscore exist.

Usage

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


gRbase

A Package for Graphical Modelling in R

v1.8-6.7
GPL (>= 2)
Authors
Søren Højsgaard <sorenh@math.aau.dk>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.