rowPairApply2Rows: Apply all functions to the two rows passed in.

View source: R/row_pair_apply.R

rowPairApply2RowsR Documentation

Apply all functions to the two rows passed in.

Description

This has some asserts that exactly one row is passed in and exaclty one row is returned, but otherwise it just calls rowPairApply.

Usage

rowPairApply2Rows(row1, row2, ...)

Arguments

row1

The first row of cues (will apply cols_to_fit for you, based on object).

row2

The second row (will apply cols_to_fit for you, based on object).

...

The functions that generate the functions to apply, such as heuristics(ttb) and correctGreater(col).

Value

A matrix of function outputs.

See Also

rowPairApply to apply to all row pairs in a matrix or data.frame.


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