chunkify: Chunkify an element-wise function

Description Usage Arguments Value

Description

Chunkify creates a new function that operates on a ff vector. It creates chunks from the ff vector and calls the orginal function fun on each chunk.

Usage

1
chunkify(fun)

Arguments

fun

function to be 'chunkified', the function must accept a vector and return a vector of the same length

Value

'chunkified' function that accepts a ff vector as its first argument.


ffbase documentation built on Feb. 27, 2021, 5:06 p.m.