calcTabInsertions: Given a vector of values and elements, calculate the...

View source: R/forNowTransforms.R

calcTabInsertionsR Documentation

Given a vector of values and elements, calculate the insertions

Description

Given a vector of values and elements, calculate the insertions

Usage

calcTabInsertions(vec, elements, var_cats)

Arguments

vec

values to transform (a single dimension of an array)

elements

AbstractCategories of both 'Category's and 'Insertion's to calculate. Generally derived from 'mapInsertions()'

var_cats

the 'Categories' object tat corresponds to the vector in 'vec' of the transform

Value

the values given in 'vec', with any insertions specified in 'trans' calculated and inserted


Crunch-io/crunchtabs documentation built on Jan. 31, 2023, 12:14 p.m.