View source: R/transform-calculate.R
calcTransforms | R Documentation |
Given a vector of values and elements, calculate the insertions
calcTransforms(array, insert_funcs, dim_names = names(insert_funcs))
calcInsertions(vec, insert_funcs, dim_names = names(insert_funcs))
insert_funcs |
a (named) list of functions that return the correct vector of the array (with desired insertions and transformations included) |
dim_names |
the names of the dimensions (although this is calculable at call-time, it's much more efficient to provide this to the call) |
vec , array |
values to transform (a single dimension of an array) |
the values given in vec
, with any insertions specified in
trans
calculated and inserted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.