createFunction: Generic function to create functions for rowPairApply.

View source: R/row_pair_apply.R

createFunctionR Documentation

Generic function to create functions for rowPairApply.

Description

An example of solving something with another layer of indirection. https://en.wikipedia.org/wiki/Fundamental_theorem_of_software_engineering

Usage

createFunction(object, test_data)

Arguments

object

The object that implements createFunction, e.g. heuristicsProb(ttb).

test_data

The test data that row_pairs will be drawn from. We recommend

Value

A function that can easily be used by rowPairApply. This is not normally used by ordinary users.


jeanimal/heuristica documentation built on Feb. 3, 2024, 9:56 p.m.