ffbase (version 0.12.8)

chunkify: Chunkify an element-wise function

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

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.