predictPairInternal {heuristica} | R Documentation |
Generic function to predict which of a pair of rows has a higher criterion.
Description
Do not call this directly (which is why it is called "internal"). Instead, call predictPair. Heuristics implement this function in order to be callable with predictPair.
Usage
predictPairInternal(object, row1, row2)
Arguments
object |
The object that implements predictPair, e.g. a ttb model. |
row1 |
The first row of cues (object$cols_to_fit columns), as a one-row matrix. |
row2 |
The second row of cues. |
Value
A number in the set -1, 0, 1, where 1 means row1 is predicted to have a greater criterion, -1 means row2 is greater, and 0 is a tie.
[Package heuristica version 1.0.3 Index]