XEntropy: Calculate the Entropy of a Vector

Description Usage Arguments Value Examples

View source: R/XEntropy.R

Description

The entropy quantifies the expected value of the information contained in a vector The Entropy is the average number of Yes/No questions we have to make to guess which one object was picked Entropy is Information

Usage

1

Arguments

v

Value

numeric

Examples

1
XEntropy(c("1","2","3","4","5"))

EduardoJacob/xfunctions documentation built on March 12, 2021, 7:30 a.m.