Given a vector of values and elements, calculate the insertions
calcInsertions(vec, elements, var_cats)
values to transform (a single dimension of an array)
AbstractCategories of both Category
s and Insertion
s to
calculate. Generally derived from mapInsertions()
the Categories
object tat corresponds to the vector in
vec
of the transform
the values given in vec
, with any insertions specified in
trans
calculated and inserted