calculate_entropy: calculate entropy

Description Usage Arguments Value Author(s) Examples

View source: R/phi_delta.R

Description

calculates the entropy of a specificity and sensitivity tuple considering the ratio

Usage

1
calculate_entropy(spec, sens, ratio = 1)

Arguments

spec

numeric, is the specificity, the true negative rate

sens

numeric, is the sensitivity, the true positive rate

ratio

numeric, is the ratio of positive and negative of the data

Value

entropy of the tuple

Author(s)

rothe

Examples

1
2

phiDelta documentation built on May 2, 2019, 2:46 a.m.