calc_accuracy: Calculate Accuracy

View source: R/confusion_matrix.R

calc_accuracyR Documentation

Calculate Accuracy

Description

Calculates accuracy and related metrics.

Usage

calc_accuracy(tabble)

Arguments

tabble

A frequency table created with table

Details

Calculates accuracy, lower and upper bounds, the guessing rate and p-value of the accuracy vs. the guessing rate. This function is called by confusion_matrix, but if this is all you want, you can simply supply the table to this function.

Value

A tibble with the corresponding statistics

Author(s)

Michael Clark (see m-clark/confusion_matrix).

See Also

binom.test


signaturescience/skater documentation built on Feb. 11, 2023, 4:19 p.m.