accuracy_profile: Calculate accuracy, sensitivity, and the like.

Description Usage Arguments Value See Also

View source: R/statistics.R

Description

This takes a truth table and returns accuracy, sensitivity, specificity, positive predictive validity, and negative predictive validity. The truth table is a count of true positive, false positive, true negative, and false negative.

Usage

1
accuracy_profile(logic_table)

Arguments

logic_table

A list with names TP, FP, TN, FN.

Value

A list with '(acc, sens, spec, ppv, npv)'

See Also

truth_table


dd-harp/population_comparison_bioko documentation built on Feb. 28, 2021, 11:05 p.m.