percentCorrectListReturnMatrix {heuristica}R Documentation

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

Description

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

Usage

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

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


[Package heuristica version 1.0.3 Index]