add frame_apply_insert: modify frame by application of function; default to row-wise