percentage_agreement: Calculate overall percentage agreement

Description Usage Arguments Value

Description

Used to calculate overall percentage agreement for a confusion matrix - the confusion matrix must have equal dimensions and the diagonal must represent 'matching' class pairs (percentage agreement does not make sense otherwise)

Usage

1

Arguments

conf_mat

A confusion matrix from get_conf_mat or otherwise (ideally a matrix, although data frames will probably work)

Value

A scaler, percentage agreement (sometime referred to as overall accuracy)


c2c documentation built on May 1, 2019, 10:13 p.m.