percentCorrectListReturnMatrix: Percent correct of heuristics' predictPair on test_data,...

Description Usage Arguments Value See Also Examples

View source: R/aggregators.R

Description

Percent correct of heuristics' predictPair on test_data, returning a matrix.

Usage

1
percentCorrectListReturnMatrix(test_data, fitted_heuristic_list)

Arguments

test_data

Data to try to predict. Must have same criterion column and cols_to_fit as the data heuristics were fit to.

fitted_heuristic_list

A list of one or more heuristics fitted to data, e.g. the output of ttbModel.

Value

A one-row matrix of numbers from 0 to 100, the percent correct of each heuristic. Each column is named with the heuristic's class or the fit name.

See Also

percentCorrectList for a version that returns a data.frame and includes several examples.

Examples

1
# See examples for percentCorrectList, which returns a data.frame.

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