predictPairInternal: Generic function to predict which of a pair of rows has a...

Description Usage Arguments Value

View source: R/heuristics.R

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

1
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.


heuristica documentation built on Sept. 8, 2021, 9:08 a.m.