R/forNowTransforms.R
applyInsert.Rd
Given an array of values and elements, calculates some summary statistics of some columns
applyInsert(vec, var_cats, a_func)
vec | An array of values and elements |
---|---|
var_cats | The `Categories` object that corresponds to the object `vec` |
a_func | A function usually to calculates a summary statistic |
If `vec` has three dimentions, a row that results from applying `a_func` to each column of each object of the third dimention of `vec`; otherwise, a row that results from applying `a_func` to each column of `vec`